I measured the distance properly, the basking spot it 26cm from the UVB (he'll be a few cm closer if theuou fake the height of his body into account), it's on a slant so it ranged 26-30cm away.
If anyone can offer some advice I'd really appreciate it.