#afbb5f
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 | #afbb5f | |
| RGB | rgb(175 187 95) | |
| HSL | hsl(67.83 40.35% 55.29%) | |
| OKLCH | oklch(0.76 0.12 115.38) | |
| CMYK | cmyk(6.42% 0% 49.2% 26.67%) | |
| Android | #ffafbb5f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.07:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.09: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="#afbb5f"
Gradient stop
<stop stop-color="#afbb5f"/>
CSS variable + fill
:root { --c: #afbb5f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afbb5f; background-color: #afbb5f; bg-[#afbb5f]