Color specimenNo. 16707722

#FEF08A

Vivid Light Amber

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

RGB
254, 240, 138
HSL
53°, 98%, 77%
Text
Black on top

Tailwind CSS · yellow

tailwind · yellow 200

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

Scale context · yellow

Click any step to jump to its landing page.

Class name
yellow-200
Hex
#FEF08A
Closest CSS named color
khaki
Full color breakdown
/color/fef08a

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 #FEF08A as the text color.

1.16:1
AA failAAA failLarge fail

Rating · Fail

On black

The quick brown fox

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

18.05:1
AA passAAA passLarge pass

Rating · AAA

Recommendation

When using #FEF08A 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 yellow