Step by step
- Show the yellow preview below, then compare it with the red and green swatches.
- Read RGB values as separate channels. Yellow has red 255, green 255 and blue 0; it does not need a separate yellow channel in the RGB encoding.
- Use the picker to compare #808000 and #FFFFFF. Equal red and green at lower values gives olive; all three channels at 255 gives white.
At a glance
| RGB values | HEX | CSS color |
|---|---|---|
| 255, 255, 0 | #FFFF00 | yellow |
| 128, 128, 0 | #808000 | olive |
| 255, 255, 255 | #FFFFFF | white |
Related questions
Why does red paint plus green paint not make bright yellow?
Paint mixes pigments that absorb light. A screen adds light, so the same color names do not imply the same mixing result.
Does an OLED screen have a yellow subpixel?
The RGB value does not specify a panel layout. Actual subpixel designs vary; the page sends an RGB color, not hardware instructions for a particular panel.
What happens if I add blue to RGB yellow?
Keeping red and green at 255 while increasing blue moves the digital color toward white. At blue 255, the result is #FFFFFF.
More questions: yellow screen
- Is a yellow screen the same as Windows Night light?
- Should I use black or white text on a yellow background?
Updated November 16, 2026.