I'd if legal to have sex?

Kennedi • Country girl haha do I needa say more?
This may be a silly question but my boyfriend is 17 (a senior in highschool) 
And I'm 16(a junior in high school) and he's turning 18 soon and I won't turn 17 till this summer.. I hope his doesn't sound immature, I just wanna reassurance or make sure that it will be okay if we had sex since I will be a minor... Thoughts?