#afb95e
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 | #afb95e | |
| RGB | rgb(175 185 94) | |
| HSL | hsl(66.59 39.39% 54.71%) | |
| OKLCH | oklch(0.76 0.12 114.38) | |
| CMYK | cmyk(5.41% 0% 49.19% 27.45%) | |
| Android | #ffafb95e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.11:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.92: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="#afb95e"
Gradient stop
<stop stop-color="#afb95e"/>
CSS variable + fill
:root { --c: #afb95e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afb95e; background-color: #afb95e; bg-[#afb95e]