A method and apparatus for detecting the temperature of gray and non-gray bodies in the presence of interfering radiation are presented. A gray body has a constant emissivity less than 1 and a non-gray body has an emissivity which varies with wavelength. The emissivity and reflectivity of the surface is determined over a range of wavelengths. Spectra are also measured of the extraneous interference radiation source and the surface of the object to be measured in the presence of the extraneous interference radiation source. An auxiliary radiation source is used to determine the reflectivity of the surface and also the emissivity. The measured spectrum of the surfaces in the presence of the extraneous interference radiation source is set equal to the emissivity of the surface multiplied by a Planck function containing a temperature term T plus the surface reflectivity multiplied by the spectrum of the extraneous interference radiation source. The equation is then solved for T to determine the temperature of the surface