Photoelectrons from the metal surface are emitted when a light having frequency greater than the threshold frequency of the metal surface is incident on it.
Maximum kinetic energy of the emitted photo electrons is given by Emax=hν−φo
where ν is the frequency of incident light and φo is the work function of metal surface.