It depends on what state or country you are in. In some parts of the usa, the age of consent for sex is 16, so it would be totally legal. In many states though, the age is 17 or even 18.
Here's a chart. Strangely enough in New Mexico, if you are homosexual, you get to have sex a year before straight people o.O lol.
[link removed]