Photoelectrons are emitted from a metal's surface if the frequency of incident radiation is more than the threshold frequency of the given metal surface. As yellow light does not eject photoelectrons from a metal it means that the threshold frequency of the metal is more than the frequency of yellow light. Since the frequency of orange light is less than the frequency of yellow light, therefore it will not be able to eject photoelectrons from the metal's surface. The frequency of green light is more than the frequency of yellow light. Hence, when it is incident on the metal surface, it will eject electrons from the metal.