cyan-900
#104e64Tailwind CSS v4.3.3 cyan-900 is oklch(39.8% 0.07 227.392) in OKLCH, the format Tailwind uses, and #104e64 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-cyan-900/50.
Text on cyan-900
- Aawhite9.12:1Readable · AA
- Aablack2.3:1Hard to read
- Aacyan-508.76:1Readable · AA
Most readable text from the cyan scale: cyan-50
Tailwind cyan scale
Step 900 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind cyan-900?
cyan-900 is #104e64 in HEX, rgb(16 78 100) in RGB and oklch(39.8% 0.07 227.392) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind cyan-900 accessible for text?
White text on cyan-900 has a contrast ratio of 9.12:1 and black text 2.3: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 cyan-900 in Tailwind CSS?
Add bg-cyan-900, text-cyan-900 or border-cyan-900 to an element. In your own CSS use var(--color-cyan-900), the CSS variable Tailwind v4 creates for every color.