Tailwind Yellow

Tailwind CSS's yellow hue family — 11 stops from 50 (lightest) to 950 (darkest), forming a bright yellow chromatic scale. Use directly as a brand palette or pair with an accent hue from another tailwind-* atom.

13 swatches 14 light roles 14 dark roles tailwindwarmchromatic

Swatches

yellow-50
#FEFCE8
Lightest stop — page background in light mode.
yellow-100
#FEF9C2
Very light surface — cards and panels on light background.
yellow-200
#FFF085
Light divider, hairline, or subtle fill.
yellow-300
#FFDF20
Muted accent or disabled-state foreground in light mode.
yellow-400
#FDC700
Mid-light tint — soft accent, hover wash, decorative fill.
yellow-500
#F0B100
Mid stop — the canonical brand hue for chromatic palettes.
yellow-600
#D08700
Mid-dark stop — primary action in light mode for chromatic palettes.
yellow-700
#A65F00
Dark stop — pressed states, deeper emphasis.
yellow-800
#894B00
Very dark stop — heavy emphasis, secondary text on light.
yellow-900
#733E0A
Near-darkest stop — body text on light, surface on dark.
yellow-950
#432004
Darkest stop — page background in dark mode.
pure-white
#FFFFFF
Maximum-elevation surface and high-contrast text in dark mode.
pure-black
#000000
High-contrast text on light chromatic hues where the deepest stop reads as the hue, not black.

Mode role mappings

Light mode (14 roles)

accent → yellow-700
accent-hover → yellow-600
background → yellow-50
error → yellow-700
primary → yellow-500
primary-hover → yellow-600
success → yellow-600
surface → yellow-100
surface-elevated → pure-white
text-primary → pure-black
text-secondary → yellow-800
text-tertiary → yellow-600
warning → yellow-300
warning-hover → yellow-400

Dark mode (14 roles)

accent → yellow-300
accent-hover → yellow-200
background → yellow-950
error → yellow-300
primary → yellow-400
primary-hover → yellow-300
success → yellow-400
surface → yellow-900
surface-elevated → yellow-800
text-primary → pure-white
text-secondary → yellow-200
text-tertiary → yellow-400
warning → yellow-600
warning-hover → yellow-500

Provenance

Source
https://tailwindcss.com/docs/colors
License
MIT
Attribution
Tailwind CSS colors, Copyright Tailwind Labs Inc., MIT licensed. Hex values derived from canonical OKLCH definitions in packages/tailwindcss/theme.css via the W3C CSS Color Module Level 4 OKLCH → sRGB conversion.
Imported
2026-05-17 (upstream version 4.3.0)