Technically you were committing an offence as your were of legal age and they weren't, which is statutory rape. Had you been 15 as well no issue.
It's far more nuanced than the law can make it out to be with arbitrary ages. For example a 14yo genius could be having sex with a rather stupid...