Color specimenNo. 16498468

#FBBF24

Vivid Amber

A deterministic reference card for #FBBF24. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.

RGB
251, 191, 36
HSL
43°, 96%, 56%
Text
Black on top

Tailwind CSS · amber

tailwind · amber 400

The Tailwind CSS utility classes bg-amber-400, text-amber-400, and friends all reference this hex value.

Scale context · amber

Click any step to jump to its landing page.

Class name
amber-400
Hex
#FBBF24
Closest CSS named color
gold
Full color breakdown
/color/fbbf24

Developer snippets

Copy-ready code

Every snippet below is generated from the hex — not a hand-maintained table.

Conversions

Same color, seven encodings

Nearest matches

Closest in other design systems

Accessibility

Contrast against white & black

On white

The quick brown fox

Jumps over the lazy dog. Testing readability of #FBBF24 as the text color.

1.67:1
AA failAAA failLarge fail

Rating · Fail

On black

The quick brown fox

Jumps over the lazy dog. Testing readability of #FBBF24 as the text color.

12.58:1
AA passAAA passLarge pass

Rating · AAA

Recommendation

When using #FBBF24 as a background, pair it with #000000 text for the best WCAG contrast.

Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.

Related Tailwind swatches

Other stops in amber