Due to its longer wavelength does not get scattered by the particles in the atmosphere n hence reaches our eyes more distinctly than the other colors minus much scattering. Green gets scatterd more red but less than blue, which r d basic colours. Hence, red is used for stop n danger while green if for go.