Best time to go to Yellowstone is when it is closed.
We stayed at Fishing Bridge in our travel trailer in mid-August 2018. Seemed to have the right balance of good weather and medium-sized crowds.