yes, it is.
IF YOU ARE HAVING SEX
if you have a "relationship" in which you do not have sex with him, it is legal.
Under the law, however, because he is 18 and an adult, (and you are a child) if you had sex with him it would be considered statutory rape.