The scattering (Rayleigh’s) of light is inversely proportional to the fourth power of the wavelength of light. So. the scattering of red light is much less than the yellow light and the signals of red light can be seen upto a longer distance. That is why the danger signals are red in colour.