is this illegal or not?

Alison
Ok so my boyfriend and I are 3 years age difference. We have been dating for quite a while now. I'm 15 almost 16 and he's 18 almost 19. Both our parents know we are dating and are totally fine with it. I just wanted to find out if it was illegal for us to have sex even with both of our concent. If it is, when would it be non illegal and what would happen if the cops found out?