#def8a4
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 | #def8a4 | |
| RGB | rgb(222 248 164) | |
| HSL | hsl(78.57 85.71% 80.78%) | |
| OKLCH | oklch(0.94 0.11 122.52) | |
| CMYK | cmyk(10.48% 0% 33.87% 2.75%) | |
| Android | #ffdef8a4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
18.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="#def8a4"
Gradient stop
<stop stop-color="#def8a4"/>
CSS variable + fill
:root { --c: #def8a4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #def8a4; background-color: #def8a4; bg-[#def8a4]