When is hat not needed ? 🧐

Soo, yep probably a silly question but I’m a FTM so cut me some slack please 😅 What’s the ideal temperature for baby to go outside without hat? It’s getting warmer and I have no idea when it’s not necessary to put hat on 🤷‍♀️