Aside from the question of pedophilia/statutory rape, age is just a number. Maturity matters more.
A friend of mine, who just turned 30, is getting married this summer to a 23-year-old. She's very mature for her age, he's a bit immature for his age, so it works out well.

Another friend of mine, who is 29, just married a 40-year-old.
I've dated guys up to 1 year younger and 3 years older - that's just the way things worked out. The guy who was 3 years older was way immature.

My husband is 1 year older than I am, and just the right level of immature.