#afea4d
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 | #afea4d | |
| RGB | rgb(175 234 77) | |
| HSL | hsl(82.55 78.89% 60.98%) | |
| OKLCH | oklch(0.87 0.19 127.77) | |
| CMYK | cmyk(25.21% 0% 67.09% 8.24%) | |
| Android | #ffafea4d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.42:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.69: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="#afea4d"
Gradient stop
<stop stop-color="#afea4d"/>
CSS variable + fill
:root { --c: #afea4d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afea4d; background-color: #afea4d; bg-[#afea4d]