Yes, e.g. for UK:
"Most people can make enough vitamin D from being out in the sun daily for short periods with their forearms, hands or lower legs uncovered and without sunscreen
...
you should be careful not to burn in the sun, so take care to cover up or protect your skin with sunscreen before your skin starts to turn red or burn.
People with dark skin ... will need to spend longer in the sun to produce the same amount of vitamin D as someone with lighter skin."[0]
[0] https://www.nhs.uk/live-well/healthy-body/how-to-get-vitamin...