is it legal??

so I'm a junior in high school and rn I'm 15 (bout to be 16 soon tho) and my boyfriend is a freshman in college he is 17 (bout to be 18 tho) is it legal for us to date cause like I don't want to get him in trouble