#afef96
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 | #afef96 | |
| RGB | rgb(175 239 150) | |
| HSL | hsl(103.15 73.55% 76.27%) | |
| OKLCH | oklch(0.89 0.13 137.26) | |
| CMYK | cmyk(26.78% 0% 37.24% 6.27%) | |
| Android | #ffafef96 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.34:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.60: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="#afef96"
Gradient stop
<stop stop-color="#afef96"/>
CSS variable + fill
:root { --c: #afef96; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afef96; background-color: #afef96; bg-[#afef96]