One function of xanthophobia in loggerhead hatchlings may be to reduce the attraction of light sources with a substantial participation of long-wavelength light.
Wikipedia foundation.