Electronic – Why can’t RGB or bicolour LEDs produce a decent yellow

ledrgb

I have several different RGB LEDs and bicolour red/green LEDs, from different suppliers.

I find that, with the appropriate resistors, they can produce a perfect orange and cyan; and a barely acceptable magenta. One thing they cannot produce, however, is a tolerable yellow. It looks awful.

Given that our eyes see yellow simply as a combination of red and green; and given that TVs and computer monitors successfully render a lovely yellow on a daily basis using nothing more than red and green pixels; why is it that my LEDs are utterly incapable of the feat? I have tried googling for answers, and come up empty.

Of course, each colour will have its own forward voltage, but I have allowed for this by providing different resistances; or, in some cases, adjustable PWM signals. But no matter how I vary the amount of red vs. the amount of green, at no point is a decent yellow produced.

Sadly, due to the limitations of cameras, I am unable to provide a realistic illustration of the pathetic yellow they produce. But suffice it to say that it's a sickly, unpleasant colour.

Now, maybe I just have low quality LEDs. But still, any shade of yellow should be possible from the correct ratio of red and green. Even if the green is a bit red-shifted already, surely I would simply need less of it?

Best Answer

Most probably because of short wavelength of your green LED and not as monochromatic green as you might expect (x and y coordinates closer to the center). If you take a look at the CIE 1931 curve and plot your red and green x and y coordinates (listed in the datasheet from serious manufacturers, otherwise assume the pure wavelength on the outer rim or move it in slightly), the only colors you are able to produce are along that line. For RGB, it's the same but you are forming a triangle instead and you can only mix color within that triangle.

Yellow is tricky here because you need your green to be almost yellow to be able to mix green and red to a good yellow, at which point you have sacrificed a lot of green and cyan colors. To make things worse, the production spread in green LEDs is very high compared to other colors, so it will vary unless you calibrate each one, at least from batch to batch.

enter image description here

Pardon my paint skills here, but let me give you three examples. A "yellow-optimized" RGB LED will have high wavelength for the green LED but you are missing out a large area of light blue, cyan and blue-green:

Yellow-optimized

A cyan-optimized RGB LED has short wavelength on the green LED and will sacrifice the yellow colors to get good cyan.

Cyan-optimized

Commercial RGBA (A for amber, thanks for pointing it out Ilmari Karonen) LEDs exists for this reason, at which point you will have a trapezium (thanks Wildcard!) with four points you can draw all the colors within, at the added expense of one more LED and associated driver channel.

RGBA