mist-900
#161b1dTailwind CSS v4.3.3 mist-900 is oklch(21.8% 0.008 223.9) in OKLCH, the format Tailwind uses, and #161b1d in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-mist-900/50.
Text on mist-900
- Aawhite17.37:1Readable · AA
- Aablack1.21:1Hard to read
- Aamist-5016.74:1Readable · AA
Most readable text from the mist scale: mist-50
Tailwind mist scale
Step 900 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind mist-900?
mist-900 is #161b1d in HEX, rgb(22 27 29) in RGB and oklch(21.8% 0.008 223.9) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind mist-900 accessible for text?
White text on mist-900 has a contrast ratio of 17.37:1 and black text 1.21: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 mist-900 in Tailwind CSS?
Add bg-mist-900, text-mist-900 or border-mist-900 to an element. In your own CSS use var(--color-mist-900), the CSS variable Tailwind v4 creates for every color.