#EAB308
Vivid Amber
A deterministic reference card for #EAB308. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.
- RGB
- 234, 179, 8
- HSL
- 45°, 93%, 47%
- Text
- Black on top
Tailwind CSS · yellow
tailwind · yellow 500
The Tailwind CSS utility classes bg-yellow-500, text-yellow-500, and friends all reference this hex value.
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 #EAB308 as the text color.
Rating · Fail
On black
The quick brown fox
Jumps over the lazy dog. Testing readability of #EAB308 as the text color.
Rating · AAA
Recommendation
When using #EAB308 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