A gas sensor is disclosed herein. The gas sensor includes an emitter for emitting radiation to a body at least partly coated with a luminophore emitting luminescent radiation indicative of an oxygen concentration when in contact with a respiratory gas. The gas sensor also includes a filter for transmitting the luminescent radiation emitted by the luminophore and an oxygen detector for receiving the luminescent radiation transmitted by the filter. The gas sensor also includes an infrared thermometry unit for receiving a thermal radiation from the luminophore. A gas analyzer and a method for measuring oxygen concentration of a respiratory gas are also provided.