#afec2f
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 | #afec2f | |
| RGB | rgb(175 236 47) | |
| HSL | hsl(79.37 83.26% 55.49%) | |
| OKLCH | oklch(0.87 0.21 126.9) | |
| CMYK | cmyk(25.85% 0% 80.08% 7.45%) | |
| Android | #ffafec2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.86: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="#afec2f"
Gradient stop
<stop stop-color="#afec2f"/>
CSS variable + fill
:root { --c: #afec2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afec2f; background-color: #afec2f; bg-[#afec2f]