A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
That specific conditional formatting relies on population statistics - the 1, 2, and 3 values in the column L. But if you don't have a Red in K, then the lowest value becomes 2, which means all the 2 values are in the lowest third of values.
Change your formula in L5 to
=VLOOKUP(K5,{"red",-1;"yellow",0;"green",1},2,0)
and copy down, then change your CF as in the attached picture: