Optoelectronic device for emitting mixed light having light in at least one first and one second wavelength range, comprising: - a first semiconductor light source having a first light-emitting diode, which emits light having a first characteristic wavelength in the first wavelength range and having a first intensity when a first current is applied, - a second semiconductor light source having a second light-emitting diode, which emits light having a second characteristic wavelength in the second wavelength range and having a second intensity when a second current is applied, wherein the first and second wavelength ranges have mutually different wavelength-dependent intensity distributions, - an optical sensor for converting a part of the light emitted by the first semiconductor light source into a first sensor signal and a part of the light emitted by the second semiconductor light source into a second sensor signal and - a control device for controlling the first and second currents (41, 42) depending on the first and second sensor signals (341, 342), wherein - the first characteristic wavelength and the first intensity of the light emitted by the first semiconductor light source have a first temperature dependence (931, 941), and - the second characteristic wavelength and the second intensity of the light emitted by the second semiconductor light source have a second temperature dependence (932, 942), which is different from the first temperature dependence (931, 941), - the optical sensor has a first wavelength-dependent sensitivity in the first wavelength range and a second wavelength-dependent sensitivity in the second wavelength range, said wavelength-dependent sensitivities being adapted to the first and second temperature dependencies (931, 932, 941, 942), wherein the optical sensor has at least one optical filter having a wavelength-dependent transmission for adapting the first and second sensitivities, - the control device controls the first and second currents (41, 42) in such a way that the first sensor signal has a predetermined ratio to the second sensor signal, such that - the colour locus of the emitted mixed light is controlled and stabilized, - the characteristic second wavelength is in the region of the falling edge of the Vλ curve, - the characteristic first wavelength is in the region of the rising edge or of the maximum of the Vλ curve, - the second sensitivity has a wavelength-dependent gradient that differs from the wavelength-dependent gradient of the Vλ curve in the second wavelength range, - the second characteristic wavelength becomes greater for increasing temperatures, and - the ratio of the average wavelength-dependent gradient of the second sensitivity to the average wavelength-dependent gradient of the Vλ curve in the second wavelength range is greater than or equal to 0.2 and less than or equal to 0.8. - a first semiconductor light source having a first light-emitting diode, which emits light having a first characteristic wavelength in the first wavelength range and having a first intensity when a first current is applied, - a second semiconductor light source having a second light-emitting diode, which emits light having a second characteristic wavelength in the second wavelength range and having a second intensity when a second current is applied, wherein the first and second wavelength ranges have mutually different wavelength-dependent intensity distributions, - an optical sensor for converting a part of the light emitted by the first semiconductor light source into a first sensor signal and a part of the light emitted by the second semiconductor light source into a second sensor signal and - a control device for controlling the first and second currents (41, 42) depending on the first and second sensor signals (341, 342), wherein - the first characteristic wavelength and the first intensity of the light emitted by the first semiconductor light source have a first temperature dependence (931, 941), and - the second characteristic wavelength and the second intensity of the light emitted by the second semiconductor light source have a second temperature dependence (932, 942), which is different from the first temperature dependence (931, 941), - the optical sensor has a first wavelength-dependent sensitivity in the first wavelength range and a second wavelength-dependent sensitivity in the second wavelength range, said wavelength-dependent sensitivities being adapted to the first and second temperature dependencies (931, 932, 941, 942), wherein the optical sensor has at least one optical filter having a wavelength-dependent transmission for adapting the first and second sensitivities, - the control device controls the first and second currents (41, 42) in such a way that the first sensor signal has a predetermined ratio to the second sensor signal, such that - the colour locus of the emitted mixed light is controlled and stabilized, - the characteristic second wavelength is in the region of the falling edge of the Vλ curve, - the characteristic first wavelength is in the region of the rising edge or of the maximum of the Vλ curve, - the second sensitivity has a wavelength-dependent gradient that differs from the wavelength-dependent gradient of the Vλ curve in the second wavelength range, - the second characteristic wavelength becomes greater for increasing temperatures, and - the ratio of the average wavelength-dependent gradient of the second sensitivity to the average wavelength-dependent gradient of the Vλ curve in the second wavelength range is greater than or equal to 0.2 and less than or equal to 0.8.