The temperature may be calculated using two simple calculations using Wien's displacement law. The peak frequency is used in one case, whereas the peak wavelength is used in the other.
Temperature = b/peakwavelength
Temperatute = peakfrequency/k