olive-200
#e8e8e3Tailwind CSS v4.3.3 olive-200 is oklch(93% 0.007 106.5) in OKLCH, the format Tailwind uses, and #e8e8e3 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-olive-200/50.
Text on olive-200
- Aawhite1.23:1Hard to read
- Aablack17.1:1Readable · AA
- Aaolive-95015.96:1Readable · AA
Most readable text from the olive scale: olive-950
Tailwind olive scale
Step 200 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind olive-200?
olive-200 is #e8e8e3 in HEX, rgb(232 232 227) in RGB and oklch(93% 0.007 106.5) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind olive-200 accessible for text?
White text on olive-200 has a contrast ratio of 1.23:1 and black text 17.1: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 olive-200 in Tailwind CSS?
Add bg-olive-200, text-olive-200 or border-olive-200 to an element. In your own CSS use var(--color-olive-200), the CSS variable Tailwind v4 creates for every color.