The warmest months in Yosemite National Park are usually July and August, with an average temperature of 18°C. February and December are the chilliest months, when the average temperature is -1°C. The rainiest months are January and March.