Blue.
Their frequency red has les frequency, therefore red photons have low energy blue has high frequency ergo. Blue photons have lots of energy, the metal didn't shoot electrons until you shun yellow light, that means, the minimum energy required (the work function) for that metal, was that of the energy of yellow photon