#daf45c
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 | #daf45c | |
| RGB | rgb(218 244 92) | |
| HSL | hsl(70.26 87.36% 65.88%) | |
| OKLCH | oklch(0.92 0.18 118.27) | |
| CMYK | cmyk(10.66% 0% 62.3% 4.31%) | |
| Android | #ffdaf45c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.22:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.07: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="#daf45c"
Gradient stop
<stop stop-color="#daf45c"/>
CSS variable + fill
:root { --c: #daf45c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #daf45c; background-color: #daf45c; bg-[#daf45c]