#afe762
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 | #afe762 | |
| RGB | rgb(175 231 98) | |
| HSL | hsl(85.26 73.48% 64.51%) | |
| OKLCH | oklch(0.86 0.17 128.68) | |
| CMYK | cmyk(24.24% 0% 57.58% 9.41%) | |
| Android | #ffafe762 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.45:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.42: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="#afe762"
Gradient stop
<stop stop-color="#afe762"/>
CSS variable + fill
:root { --c: #afe762; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afe762; background-color: #afe762; bg-[#afe762]