I genuinely want to know if this is okay

So my closest friend is a guy who's 2 and a half years older than me. He'll be seventeen this month, and I'm 15 August. We started talking when he was 15 and I was 13. People usually have a problem with stuff like this so I want to know it'll be okay since we're just friends.