#afbd97
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 | #afbd97 | |
| RGB | rgb(175 189 151) | |
| HSL | hsl(82.11 22.35% 66.67%) | |
| OKLCH | oklch(0.78 0.05 124.1) | |
| CMYK | cmyk(7.41% 0% 20.11% 25.88%) | |
| Android | #ffafbd97 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.99:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.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="#afbd97"
Gradient stop
<stop stop-color="#afbd97"/>
CSS variable + fill
:root { --c: #afbd97; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afbd97; background-color: #afbd97; bg-[#afbd97]