If the spacing between two electronic energy levels in atom a is larger than in atom b, then the wavelength of the light emitted by atom b will be longer.