There's still a lot of UV that comes in through the cloud layer. It's one of the reasons it's recommended to wear sunglasses and sunscreen if you're hiking on snow on a cloudy day. You can still sunburn the inside of your eyes from UV exposure, and because it's not visible light your iris doesn't react to it the same way it would on a bright sunny day.