#afe04f
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 | #afe04f | |
| RGB | rgb(175 224 79) | |
| HSL | hsl(80.28 70.05% 59.41%) | |
| OKLCH | oklch(0.84 0.18 126.02) | |
| CMYK | cmyk(21.88% 0% 64.73% 12.16%) | |
| Android | #ffafe04f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.54:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.59: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="#afe04f"
Gradient stop
<stop stop-color="#afe04f"/>
CSS variable + fill
:root { --c: #afe04f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afe04f; background-color: #afe04f; bg-[#afe04f]