#afdf7b
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 | #afdf7b | |
| RGB | rgb(175 223 123) | |
| HSL | hsl(88.8 60.98% 67.84%) | |
| OKLCH | oklch(0.85 0.14 129.91) | |
| CMYK | cmyk(21.52% 0% 44.84% 12.55%) | |
| Android | #ffafdf7b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.66: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="#afdf7b"
Gradient stop
<stop stop-color="#afdf7b"/>
CSS variable + fill
:root { --c: #afdf7b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afdf7b; background-color: #afdf7b; bg-[#afdf7b]