Help me identify these two transistors
First picture shows TIS-99, Vce = 65V max and Ic = 200mA max - not a good selection for your 12V/10W LED

Second picture shows BC617, Vce = 50Vmax and Ic = 500mA max, again not the best for your LED.

To calculate current divide power/voltage, in your case 10W/12V gives 0.83A, anyway later mentioned 2W real power consumption what makes 0.167A. There is a big ambiguity in this description, without checking real power consumption you are risking damaging the transistor.

It would recommended to find low voltage, high Ic transistor, like TIPP31A or 2SD1835.