#afe772
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 | #afe772 | |
| RGB | rgb(175 231 114) | |
| HSL | hsl(88.72 70.91% 67.65%) | |
| OKLCH | oklch(0.86 0.16 130.25) | |
| CMYK | cmyk(24.24% 0% 50.65% 9.41%) | |
| Android | #ffafe772 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.44:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.49: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="#afe772"
Gradient stop
<stop stop-color="#afe772"/>
CSS variable + fill
:root { --c: #afe772; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afe772; background-color: #afe772; bg-[#afe772]