Humans basically get tan not black when exposed in sunlight as UV radiation of the sun help our skin to secret more melanin . Melanin is a substance which makes your skin tone, so more melanin more dark or tan you are , less melanin more fair you are