#dafe48
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 | #dafe48 | |
| RGB | rgb(218 254 72) | |
| HSL | hsl(71.87 98.91% 63.92%) | |
| OKLCH | oklch(0.94 0.2 120.3) | |
| CMYK | cmyk(14.17% 0% 71.65% 0.39%) | |
| Android | #ffdafe48 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.15:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
18.25: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="#dafe48"
Gradient stop
<stop stop-color="#dafe48"/>
CSS variable + fill
:root { --c: #dafe48; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dafe48; background-color: #dafe48; bg-[#dafe48]