mist-300
#d0d6d8Tailwind CSS v4.3.3 mist-300 is oklch(87.2% 0.007 219.6) in OKLCH, the format Tailwind uses, and #d0d6d8 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-mist-300/50.
Text on mist-300
- Aawhite1.47:1Hard to read
- Aablack14.29:1Readable · AA
- Aamist-95013.41:1Readable · AA
Most readable text from the mist scale: mist-950
Tailwind mist scale
Step 300 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind mist-300?
mist-300 is #d0d6d8 in HEX, rgb(208 214 216) in RGB and oklch(87.2% 0.007 219.6) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind mist-300 accessible for text?
White text on mist-300 has a contrast ratio of 1.47:1 and black text 14.29: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 mist-300 in Tailwind CSS?
Add bg-mist-300, text-mist-300 or border-mist-300 to an element. In your own CSS use var(--color-mist-300), the CSS variable Tailwind v4 creates for every color.