Yellow
Hex #FFFF00 · RGB(255, 255, 0) · HSL(60, 100%, 50%)
What is yellow?
Yellow is a primary color with the standard web hex code #FFFF00, RGB rgb(255, 255, 0) and HSL hsl(60, 100%, 50%). It has the highest luminance of any hue — pure yellow appears brighter than white when displayed on black, which is why it is reserved for the most important warnings and highlights.
Yellow hex codes and variations
| Color | HEX | RGB |
|---|---|---|
| Gold | #FFD700 | rgb(255, 215, 0) |
| Lemon | #FFF700 | rgb(255, 247, 0) |
| Mustard | #FFDB58 | rgb(255, 219, 88) |
| Marigold | #EAA221 | rgb(234, 162, 33) |
| Saffron | #F4C430 | rgb(244, 196, 48) |
| Khaki | #F0E68C | rgb(240, 230, 140) |
Yellow color psychology and meaning
Yellow communicates optimism, energy and youthfulness. It's the color of sunshine, lemons and school buses — but it also carries caution and warning meaning. Yellow draws attention faster than any other color, which is why it appears in warning signs and highlighters. Too much yellow is fatiguing and can trigger anxiety in some contexts.
Yellow in design
Yellow is difficult to use as a background because text becomes unreadable without dark contrast. Reserve bright yellow for accents, icons and small highlights. Warmer yellows (gold, amber, mustard) work as brand colors because they feel sophisticated; pure #FFFF00 usually feels loud.
Yellow RGB values
If you're looking for "yellow rgb" or "rgb yellow", the standard answer is rgb(255, 255, 0). Yellow is made of equal parts red and green light. Yellow HSL is hsl(60, 100%, 50%).
Shades of yellow
Related yellow colors
Frequently asked
What is the hex code for yellow?
Yellow is #FFFF00.
What is the RGB for yellow?
Yellow is rgb(255, 255, 0).
What is the hex code for bright yellow?
For a very bright, saturated yellow, use #FFFF00 or #FFF700 (lemon). For a more usable brand yellow, try #FFD700 (gold) or #F4C430 (saffron).
What colors go with yellow?
Yellow pairs with black (high contrast), navy, gray and purple. Its complementary color is purple.