Skip to content
Color Codes

Color code and palette

Shades of Yellow

Yellow ranges from quiet cream to vivid lemon and earthy mustard. Because bright yellow carries high visual salience, it works best as a deliberate highlight paired with readable dark text.

Yellow
#EAB308

Color formats

The same base color in common web formats.

Download SVG swatch

Shades

Yellow — Shades
ColorNameHEXCopy
Cream#FEFCE8
Ivory#FEF9C3
Lemon Light#FEF08A
Lemon#FDE047
Canary#FACC15
Yellow#EAB308
Mustard#CA8A04
Gold Dark#A16207
Olive Yellow#854D0E
Dark Yellow#713F12
Lime Light#F7FEE7
Lime Cream#ECFCCB
Lime Pale#D9F99D
Lime#BEF264
Lime Bright#A3E635
Chartreuse#84CC16
Yellow Green#65A30D
Olive#4D7C0F
Army Green#3F6212
Dark Olive#365314

CSS keyword: yellow

In CSS you can write it as the keyword yellow.

Text contrast

These ratios use the WCAG relative luminance formula.

Aa White text 1.92:1 Fail
Aa Black text 10.95:1 AAA
Check in the contrast tool

Ways to use Yellow

Highlights, badges and attention cues

Optimistic editorial illustration

Warm neutral palettes with brown or navy

Colors that go with Yellow

Color-wheel harmonies built from #EAB308. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Colors similar to Yellow

Palettes with similar colors

Related colors