The correct comparison is:
The frequency of blue light is greater than that of yellow light, while the speeds of both colors of light are the same.
In summary, blue light has a higher frequency and shorter wavelength compared to yellow light, but the speed of both colors of light in a vacuum is the same.