Do the greenhouse gases surrounding earth keep it cool? Absent atmosphere, the moon achieves 100° C (212° F) by day which of course is the boiling point of water.
“Over the course of the Apollo program, our astronauts deployed six American flags on the Moon. For forty-odd years, the flags have been exposed to the full fury of the Moon’s environment – alternating 14 days of searing sunlight and 100° C heat with 14 days of numbing-cold -150° C darkness.”
via The American Flags On The Moon Have All Turned White – Business Insider.