What is the appropriate age gap for dating

Like im 17 and my crush is 19, is this socially acceptable even the other way around? This type of stuff bothers me a lot