amber-200
#fee685Tailwind CSS v4.3.3 amber-200 is oklch(92.4% 0.12 95.746) in OKLCH, the format Tailwind uses, and #fee685 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-amber-200/50.
Text on amber-200
- Aawhite1.25:1Hard to read
- Aablack16.85:1Readable · AA
- Aaamber-95012.03:1Readable · AA
Most readable text from the amber scale: amber-950
Tailwind amber scale
Step 200 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind amber-200?
amber-200 is #fee685 in HEX, rgb(254 230 133) in RGB and oklch(92.4% 0.12 95.746) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind amber-200 accessible for text?
White text on amber-200 has a contrast ratio of 1.25:1 and black text 16.85:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so black text is the better choice here.
How do I use amber-200 in Tailwind CSS?
Add bg-amber-200, text-amber-200 or border-amber-200 to an element. In your own CSS use var(--color-amber-200), the CSS variable Tailwind v4 creates for every color.