#afb68d
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 | #afb68d | |
| RGB | rgb(175 182 141) | |
| HSL | hsl(70.24 21.93% 63.33%) | |
| OKLCH | oklch(0.76 0.06 115.64) | |
| CMYK | cmyk(3.85% 0% 22.53% 28.63%) | |
| Android | #ffafb68d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.12:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.89: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="#afb68d"
Gradient stop
<stop stop-color="#afb68d"/>
CSS variable + fill
:root { --c: #afb68d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afb68d; background-color: #afb68d; bg-[#afb68d]