#afb49c
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 | #afb49c | |
| RGB | rgb(175 180 156) | |
| HSL | hsl(72.5 13.79% 65.88%) | |
| OKLCH | oklch(0.76 0.03 116.77) | |
| CMYK | cmyk(2.78% 0% 13.33% 29.41%) | |
| Android | #ffafb49c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.83: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="#afb49c"
Gradient stop
<stop stop-color="#afb49c"/>
CSS variable + fill
:root { --c: #afb49c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afb49c; background-color: #afb49c; bg-[#afb49c]