#afe75b
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 | #afe75b | |
| RGB | rgb(175 231 91) | |
| HSL | hsl(84 74.47% 63.14%) | |
| OKLCH | oklch(0.86 0.18 128.13) | |
| CMYK | cmyk(24.24% 0% 60.61% 9.41%) | |
| Android | #ffafe75b |
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.40: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="#afe75b"
Gradient stop
<stop stop-color="#afe75b"/>
CSS variable + fill
:root { --c: #afe75b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afe75b; background-color: #afe75b; bg-[#afe75b]