#afa16e
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 | #afa16e | |
| RGB | rgb(175 161 110) | |
| HSL | hsl(47.08 28.89% 55.88%) | |
| OKLCH | oklch(0.71 0.07 94.6) | |
| CMYK | cmyk(0% 8% 37.14% 31.37%) | |
| Android | #ffafa16e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.14: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="#afa16e"
Gradient stop
<stop stop-color="#afa16e"/>
CSS variable + fill
:root { --c: #afa16e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afa16e; background-color: #afa16e; bg-[#afa16e]