#f0fdf4
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #f0fdf4 | |
| RGB | rgb(240 253 244) | |
| HSL | hsl(138.46 76.47% 96.67%) | |
| OKLCH | oklch(0.98 0.02 155.83) | |
| CMYK | cmyk(5.14% 0% 3.56% 0.78%) | |
| Android | #fff0fdf4 |
Names & lists
Web-safe: No
Tailwind: green-50
Contrast
Aa
1.04:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
20.06:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#f0fdf4"
Gradient stop
<stop stop-color="#f0fdf4"/>
CSS variable + fill
:root { --c: #f0fdf4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0fdf4; background-color: #f0fdf4; bg-[#f0fdf4]