Shades of Yellow: 40 Yellow Color Codes (HEX, RGB, HSL)
Every shade of yellow, from pastel and lemon to mustard and gold, with HEX, RGB, HSL and OKLCH codes, plus ready-made yellow color palettes. Click to copy.
Light yellows
-
Light Yellow
- RGB
- HSL
- OKLCH
-
Lemon Chiffon
- RGB
- HSL
- OKLCH
-
Light Goldenrod Yellow
- RGB
- HSL
- OKLCH
-
Pastel Yellow
- RGB
- HSL
- OKLCH
-
Butter
- RGB
- HSL
- OKLCH
-
Lemon Meringue
- RGB
- HSL
- OKLCH
-
Vanilla
- RGB
- HSL
- OKLCH
-
Flax
- RGB
- HSL
- OKLCH
Bright yellows
-
Yellow
- RGB
- HSL
- OKLCH
-
Lemon
- RGB
- HSL
- OKLCH
-
Canary
- RGB
- HSL
- OKLCH
-
Banana
- RGB
- HSL
- OKLCH
-
Gold
- RGB
- HSL
- OKLCH
-
School Bus Yellow
- RGB
- HSL
- OKLCH
-
Cyber Yellow
- RGB
- HSL
- OKLCH
-
Laser Lemon
- RGB
- HSL
- OKLCH
Golden yellows
-
Goldenrod
- RGB
- HSL
- OKLCH
-
Dark Goldenrod
- RGB
- HSL
- OKLCH
-
Mustard
- RGB
- HSL
- OKLCH
-
Saffron
- RGB
- HSL
- OKLCH
-
Amber
- RGB
- HSL
- OKLCH
-
Maize
- RGB
- HSL
- OKLCH
-
Naples Yellow
- RGB
- HSL
- OKLCH
-
Metallic Gold
- RGB
- HSL
- OKLCH
Green yellows
-
Chartreuse Yellow
- RGB
- HSL
- OKLCH
-
Pear
- RGB
- HSL
- OKLCH
-
Citrine
- RGB
- HSL
- OKLCH
-
Arylide Yellow
- RGB
- HSL
- OKLCH
-
Straw
- RGB
- HSL
- OKLCH
-
Khaki
- RGB
- HSL
- OKLCH
-
Green Yellow
- RGB
- HSL
- OKLCH
-
Yellow Green
- RGB
- HSL
- OKLCH
Dark and muted yellows
-
Old Gold
- RGB
- HSL
- OKLCH
-
Dark Khaki
- RGB
- HSL
- OKLCH
-
Brass
- RGB
- HSL
- OKLCH
-
Satin Sheen Gold
- RGB
- HSL
- OKLCH
-
Harvest Gold
- RGB
- HSL
- OKLCH
-
Gamboge
- RGB
- HSL
- OKLCH
-
Dark Yellow
- RGB
- HSL
- OKLCH
-
Field Drab
- RGB
- HSL
- OKLCH
Yellow color palettes
-
Sunshine
-
Lemonade
-
Mustard and Navy
-
Honey
-
Pastel Yellow
-
Black and Yellow
How many shades of yellow are there?
Yellow runs from almost-white pastels like lemon chiffon to pure, bright yellow, warm golds and mustards, and greenish yellows like chartreuse and citrine. This page lists 40 named shades in five groups. For softer versions, see pastel colors.
What does yellow mean in design?
Yellow is the most attention-grabbing color: it reads as happy, optimistic and energetic, and it’s used for warnings and highlights for the same reason. In interfaces, use it sparingly, for highlights, badges and warning states, rather than as a large background. Mustard and gold feel warmer and more refined than bright lemon yellow.
Using yellow in CSS
Never put white text on yellow: on #FFFF00 it’s 1.07:1, practically invisible. Black text on yellow is one of the highest-contrast pairs there is (19.56:1), which is why warning signs use it. Even dark goldenrod (#B8860B) only reaches 3.25:1 with white text.
:root {
--yellow-100: #FFFACD;
--yellow-400: #FFD700;
--yellow-900: #5C4033;
}
.warning {
background: var(--yellow-100);
color: var(--yellow-900);
border-left: 4px solid var(--yellow-400);
}
mark {
background: var(--yellow-400);
color: #000000;
}
FAQ
What is the hex code for yellow?
Pure yellow is #FFFF00, the CSS color yellow.
What is the hex code for gold?
The CSS color gold is #FFD700. A more realistic metallic gold is #D4AF37.
What is the hex code for mustard yellow?
Mustard is #FFDB58. For a darker, browner mustard, try harvest gold (#DA9100).
What is the hex code for pastel yellow?
Pastel yellow is #FDFD96. lemonchiffon (#FFFACD) is a paler option built into CSS.
What colors go with yellow?
Navy and dark gray make yellow look sharp; white and light gray keep it fresh; green gives a natural feel. See the shades of green and shades of blue.
More colors
Need a gradient from these colors? Use the CSS gradient generator.