The legality depends on the state and the year of the encounter (the further you go back the more states you’ll find where children can consent). I only assume your referencing the legality (and not the morality) because you’re using explicit legal language here.
If you meant your comment in moral terms... yeah... rape…