#d7ec2f
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 | #d7ec2f | |
| RGB | rgb(215 236 47) | |
| HSL | hsl(66.67 83.26% 55.49%) | |
| OKLCH | oklch(0.9 0.19 116.28) | |
| CMYK | cmyk(8.9% 0% 80.08% 7.45%) | |
| Android | #ffd7ec2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.31:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.92: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="#d7ec2f"
Gradient stop
<stop stop-color="#d7ec2f"/>
CSS variable + fill
:root { --c: #d7ec2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d7ec2f; background-color: #d7ec2f; bg-[#d7ec2f]