Yellow is one of the color families shipped with this release. Bright attention — markers, badges, sunlight..

Shades#

Palette table#

ShadeClass fragmentValueBest role
50yellow-50#fefce8Lightest tint — page backgrounds, subtle fills, hover backgrounds for rows and list items.
100yellow-100#fef9c3Very light — section backgrounds, badges on light UI, tinted code blocks.
200yellow-200#fef08aLight — borders on light themes, dividers with personality, chip backgrounds.
300yellow-300#fde047Soft — secondary borders, disabled states with color, placeholder decorations.
400yellow-400#facc15Medium-light — icons on dark surfaces, decorative accents, chart lines.
500yellow-500#eab308The primary step — buttons, links, brand fills, key interactive elements.
600yellow-600#ca8a04Hover step — hover states for 500 elements, or primary on very light UIs.
700yellow-700#a16207Active step — pressed states, emphasized text on light tinted backgrounds.
800yellow-800#854d0eDark — text on light palettes, headers in tinted sections, dark UI fills.
900yellow-900#713f12Very dark — deep section backgrounds, high-contrast text carriers.
950yellow-950#422006Darkest — near-black tinted backgrounds, hero surfaces, footer tones.

Use it#

html
<div class="bg-yellow-500 text-white p-6 rounded-xl">Yellow surface</div>
<p class="text-yellow-600 dark:text-yellow-400">Adaptive text</p>
<div class="border border-yellow-200 dark:border-yellow-800 bg-yellow-50 dark:bg-yellow-950 p-4 rounded-lg">Panel</div>

Per-usage guides#

Contrast#

Flip point: shades 50–400 want dark text (text-slate-900); shades 500+ (approx.) want white text. Verify with the accessibility/color-contrast|contrast guide.

colors/amber|amber · colors/lime|lime · colors/color-pairing|Pairing recipes