#afe55b
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 | #afe55b | |
| RGB | rgb(175 229 91) | |
| HSL | hsl(83.48 72.63% 62.75%) | |
| OKLCH | oklch(0.86 0.18 127.77) | |
| CMYK | cmyk(23.58% 0% 60.26% 10.2%) | |
| Android | #ffafe55b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.18: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="#afe55b"
Gradient stop
<stop stop-color="#afe55b"/>
CSS variable + fill
:root { --c: #afe55b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afe55b; background-color: #afe55b; bg-[#afe55b]