Wien's displacement law have two simple formulas to get the temperature. One is using the peak frequency and the other is using the peak wavelength.
Temperature = b/peak_wavelength
Temperatute = peak_frequency/k