#afef8b
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 | #afef8b | |
| RGB | rgb(175 239 139) | |
| HSL | hsl(98.4 75.76% 74.12%) | |
| OKLCH | oklch(0.89 0.15 135.06) | |
| CMYK | cmyk(26.78% 0% 41.84% 6.27%) | |
| Android | #ffafef8b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.35:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.54: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="#afef8b"
Gradient stop
<stop stop-color="#afef8b"/>
CSS variable + fill
:root { --c: #afef8b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afef8b; background-color: #afef8b; bg-[#afef8b]