How to calculate
Find moist-air density and then find the temperature at which dry air would have that density at the same pressure.
Worked example
Use Temperature (°C) 20 · Absolute pressure (kPa) 101.325 · Relative humidity (%) 50. The result is ≈ 21.28354962354 °C.
Input and result notes
Use local absolute pressure. This calculation uses an ideal-gas mixture rather than a precision air-density correction.
CIPM moist-air density reference