I honestly see nothing wrong with your being 17 and the guy being 22, especially when you say that you actually put a lot of thought into it. The 11 year olds in the OP? There's no way they could understand what was going on!
Hehe, yeah, I'd gotten off topic a wee bit. It's definitely different... but it's a sour point for me.
See, my brother was 17, a few months from 18, and this girl was 16. My brother was, as many guys are at that age, a bit dense. Our family is really touchy-feely, snuggling and such is perfectly normal. So, he goes and sits by this random girl, chats with her a bit, leans up against her because he got a bit cold, then hugged her before he left. He thought nothing of it. But she was apparently extremely upset over it all, because when he leaned against her, he was Near her breasts.
All this was on videotape (security camera at school), so he wasn't lying about it. By the time the prosecutor got to his file, it was 4 months later, and he was barely 18. They prosecuted him as an adult, as a child molester, and he was looking at 10 years on the sex offender list as a child molester. Details aren't on that list, so his name would be right next to 40 yr old child rapists, and no way to tell the difference. No R rated movies, no G rated movies, couldn't be associated with anything involving children or sex for 10 years.
He ended up getting out of it with a 4 year probation and 2 years house arrest. And no, they never accused him of a whit more than what I said. Oh, and for note, she didn't resist the hug. Or the leaning. She never told him to stop, or go away, or anything, and she admitted this fact to the police.
Oh, and the funny thing about probation? Apparently, he was the nicest, most behaved guy the probation officer had ever seen, and she just about demanded that the judge let him off after 1 year. He did, but 4 years was nonetheless what he was sentenced to. My brother is dense, granted, but sweet. That was all he was guilty of.
All for leaning up against a girl and giving her a hug, when she was 1 year his junior and he was 17.
So yeah, while all sane people recognize a difference between that *points at OP* and what my brother did, the legal system needs to be shot.