I spent June and July building up a tan gradually in my back garden (northern England) at lunchtime, 30 minutes at most, whenever the sun was shining.
By the time I went on holiday in August I could easily go without burning when exposed for an hour or two, but making sure I was covered up in the afternoon.
I’m not sure if this is a healthy approach or not, but I feel like I’m hedging my bets against both skin cancer and vitamin D deficiency by using a bit of tan, bit of sunscreen, bit of covering up.