#def48e
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 | #def48e | |
| RGB | rgb(222 244 142) | |
| HSL | hsl(72.94 82.26% 75.69%) | |
| OKLCH | oklch(0.93 0.13 118.95) | |
| CMYK | cmyk(9.02% 0% 41.8% 4.31%) | |
| Android | #ffdef48e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.20:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.43: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="#def48e"
Gradient stop
<stop stop-color="#def48e"/>
CSS variable + fill
:root { --c: #def48e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #def48e; background-color: #def48e; bg-[#def48e]