green-600
#00a63eTailwind CSS v4.3.3 green-600 is oklch(62.7% 0.194 149.214) in OKLCH, the format Tailwind uses, and #00a63e in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-green-600/50.
Text on green-600
- Aawhite3.22:1Hard to read
- Aablack6.53:1Readable · AA
- Aagreen-9504.64:1Readable · AA
Most readable text from the green scale: green-950
Tailwind green scale
Step 600 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind green-600?
green-600 is #00a63e in HEX, rgb(0 166 62) in RGB and oklch(62.7% 0.194 149.214) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind green-600 accessible for text?
White text on green-600 has a contrast ratio of 3.22:1 and black text 6.53: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 green-600 in Tailwind CSS?
Add bg-green-600, text-green-600 or border-green-600 to an element. In your own CSS use var(--color-green-600), the CSS variable Tailwind v4 creates for every color.