#afb296
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 | #afb296 | |
| RGB | rgb(175 178 150) | |
| HSL | hsl(66.43 15.38% 64.31%) | |
| OKLCH | oklch(0.75 0.04 112.3) | |
| CMYK | cmyk(1.69% 0% 15.73% 30.2%) | |
| Android | #ffafb296 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.63: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="#afb296"
Gradient stop
<stop stop-color="#afb296"/>
CSS variable + fill
:root { --c: #afb296; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afb296; background-color: #afb296; bg-[#afb296]