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

Shades#

Palette table#

ShadeClass fragmentValueBest role
100yellow-100#fefce8Very light — section backgrounds, badges on light UI, tinted code blocks.
200yellow-200#fef9c3Light — borders on light themes, dividers with personality, chip backgrounds.
300yellow-300#fef08aSoft — secondary borders, disabled states with color, placeholder decorations.
400yellow-400#fde047Medium-light — icons on dark surfaces, decorative accents, chart lines.
500yellow-500#facc15The primary step — buttons, links, brand fills, key interactive elements.
600yellow-600#eab308Hover step — hover states for 500 elements, or primary on very light UIs.
700yellow-700#ca8a04Active step — pressed states, emphasized text on light tinted backgrounds.
800yellow-800#a16207Dark — text on light palettes, headers in tinted sections, dark UI fills.
900yellow-900#854d0eVery dark — deep section backgrounds, high-contrast text carriers.
950yellow-950#713f12Darkest — 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