evidence: Aim to strike a balance between protecting yourself from the sun and getting enough vitamin D from sunlight. [...] People who spend a lot of time in the sun, whether it's for work or play, are at increased risk of skin cancer if they do not take the right precautions. If you have naturally brown or black skin you are less likely to get skin cancer, as darker skin has some protection against UV rays. You may also need more time in sunlight to produce the same amount of vitamin D as people with lighter skin. But you should still avoid burning and take care in the sun as people of all skin tones can get skin cancer.