The refractive index of glass for yellow light is greater than that for red light…