San Francisco has long and mild summers during the June to August period. The temperature stays in the 50 to the 65-degree zone. There’s also a lot of fog, especially in the areas closer to the ocean.
https://www.thefamilyvacationguide.com/california/san-francisco-family-travel-guide/