red has a longer wavelength than yellow. Yellow has a longer wavelength than green.
Explanation
in the visible spectrum a color with high frequency contains shorter wavelength.In this case red color has high wavelength followed by yellow followed by green,blue and violet.