If there are two bodies at different temperatures, the wavelength of radiation (in which maximum radiation energy is distributed):
According to wein's displacement law
BUT E
AT EVERY TEMPERATURE AT ALL THE WAVE LENGTHS HEAT ENERGY WILL BE EMITTED.
As the temperature increases the wavelength corresponding to maximum energy emitted will be shifted towards shorter wavelength range.