Shades of Yellow
with Hex Codes
Yellow is the brightest colour the human eye can detect — it signals energy, optimism, and warmth. In CSS, the base yellow is #FFFF00, but designers use dozens of variations: deep amber and gold for luxury, bright lemon and lime-yellow for attention-grabbing CTAs, warm honey and mustard for earthy palettes, and soft cream and champagne for elegant backgrounds.
Complete List of Yellow Color Shades
Shades of Yellow — Hex Reference Table
Click any hex code or colour swatch to copy it to your clipboard.
| Preview | Name | Hex Code | RGB | Category |
|---|
How to Use Shades of Yellow in CSS
Every shade on this page can be used directly in CSS. Copy the hex code and paste it into any CSS color property: color, background-color, border-color, box-shadow, or outline-color.
For transparency effects, convert the hex to RGB using the table above and use rgba(). For a design system, store your chosen shade as a CSS custom property so you can update it site-wide from one place.
Frequently Asked Questions
What is the hex code for yellow?
#FFFF00. Gold is #FFD700, amber is #FFBF00, lemon is #FFF44F, and mustard is #FFDB58.What are the different shades of yellow called?
What is the darkest shade of yellow?
#B8860B), golden brown (#996515), and olive (#808000). True dark yellow tends to read as brown or olive to the eye.What is the difference between yellow and gold?
#FFFF00) is the pure spectral colour — very bright and saturated. Gold (#FFD700) is a warmer, richer shade with more red, closer to how metallic gold looks. Gold is far more common in design.How do I use yellow shades in CSS?
color: #FFD700; for gold, or background-color: #FFBF00; for amber. CSS named yellows include yellow, gold, khaki, darkkhaki, lemonchiffon, and lightyellow.