olive-600
#5b5b4bTailwind CSS v4.3.3 olive-600 is oklch(46.6% 0.025 107.3) in OKLCH, the format Tailwind uses, and #5b5b4b in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-olive-600/50.
Text on olive-600
- Aawhite6.91:1Readable · AA
- Aablack3.04:1Hard to read
- Aaolive-506.68:1Readable · AA
Most readable text from the olive scale: olive-50
Tailwind olive scale
Step 600 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind olive-600?
olive-600 is #5b5b4b in HEX, rgb(91 91 75) in RGB and oklch(46.6% 0.025 107.3) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind olive-600 accessible for text?
White text on olive-600 has a contrast ratio of 6.91:1 and black text 3.04:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use olive-600 in Tailwind CSS?
Add bg-olive-600, text-olive-600 or border-olive-600 to an element. In your own CSS use var(--color-olive-600), the CSS variable Tailwind v4 creates for every color.