A power supply for driving a load comprising a first light source and a second light source, the power supply comprising: a front end circuit to generate a direct current voltage based on an input voltage; a converter circuit to generate a first voltage to drive the first light source, a second voltage to drive the second light source, and a sense voltage proportional to a current flowing through the first light source based on the direct current voltage; and a load current control circuit to control the current flowing through the second light source based at least on the sense voltage; wherein the first light source comprises a solid state light source that emits light at a first color temperature and wherein the second light source comprises a solid state light source that emits light at a second color temperature; characterized in that the load current control circuit comprises a current regulator circuit to control the current flowing through the second light source, the current regulator circuit comprising: an operational amplifier; a first resistor coupled to an output of the operational amplifier; a transistor having a gate coupled to the first resistor and a drain coupled to an output of the second light source; a second resistor coupled between a source of the transistor and an input to the operational amplifier; a current sense resistor coupled between the source of the transistor and a negative terminal of the first light source; and a capacitor coupled between the first resistor and the sense resistor, wherein the power supply further comprises a reference voltage generator circuit for generating at least one reference voltage, and wherein the operational amplifier is configured to receive the at least one reference voltage corresponding to the amount of current to be allowed to flow through the second light source, wherein the load current control circuit is configured to control the current flowing through the second light source based on a sense voltage proportional to a current flowing through the first light source, wherein the current profile of the current regulator circuit is set by adjusting the reference voltages to the operation amplifier. a front end circuit to generate a direct current voltage based on an input voltage; a converter circuit to generate a first voltage to drive the first light source, a second voltage to drive the second light source, and a sense voltage proportional to a current flowing through the first light source based on the direct current voltage; and a load current control circuit to control the current flowing through the second light source based at least on the sense voltage; wherein the first light source comprises a solid state light source that emits light at a first color temperature and wherein the second light source comprises a solid state light source that emits light at a second color temperature; an operational amplifier; a first resistor coupled to an output of the operational amplifier; a transistor having a gate coupled to the first resistor and a drain coupled to an output of the second light source; a second resistor coupled between a source of the transistor and an input to the operational amplifier; a current sense resistor coupled between the source of the transistor and a negative terminal of the first light source; and a capacitor coupled between the first resistor and the sense resistor, wherein the power supply further comprises a reference voltage generator circuit for generating at least one reference voltage, and wherein the operational amplifier is configured to receive the at least one reference voltage corresponding to the amount of current to be allowed to flow through the second light source, wherein the load current control circuit is configured to control the current flowing through the second light source based on a sense voltage proportional to a current flowing through the first light source, wherein the current profile of the current regulator circuit is set by adjusting the reference voltages to the operation amplifier.