#afe08c
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 | #afe08c | |
| RGB | rgb(175 224 140) | |
| HSL | hsl(95 57.53% 71.37%) | |
| OKLCH | oklch(0.85 0.12 133.07) | |
| CMYK | cmyk(21.88% 0% 37.5% 12.16%) | |
| Android | #ffafe08c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.51:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.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="#afe08c"
Gradient stop
<stop stop-color="#afe08c"/>
CSS variable + fill
:root { --c: #afe08c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afe08c; background-color: #afe08c; bg-[#afe08c]