It is possible to tan in any season, even in winter. In fact, the presence of snow makes tanning more effective, as it is capable of reflecting up to 85% of UV rays. However, between the ski suit, protective glasses and hat, there is a high risk of ending up with a rather patchy tan.
Tanning sessions are therefore usually when the weather is fine, typically between late spring and early autumn. However, it is crucial to exercise extra caution during the summer, when the sun's rays are hotter and more intense, and to never forget your hat and sunscreen. If UV rays are more energetic in the summer, it's due to the Earth's tilt angle, which does not rotate vertically around the sun but is slightly inclined (≈ 23°). The sun's rays therefore strike either the North or South Pole depending on the time of year, which explains why the seasons are "reversed" at each pole.
Finally, if you observe a few clouds in the sky, rest assured, this will not prevent you from tanning. Indeed, only large dark clouds are capable of blocking all UV rays. A mid-altitude cloud layer can only stop 30 to 60% of the sun's rays. Furthermore, if the clouds are white and scattered, the UV rays will reflect and the radiation will then increase by 10%.