#afbf82
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 | #afbf82 | |
| RGB | rgb(175 191 130) | |
| HSL | hsl(75.74 32.28% 62.94%) | |
| OKLCH | oklch(0.78 0.08 120.33) | |
| CMYK | cmyk(8.38% 0% 31.94% 25.1%) | |
| Android | #ffafbf82 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.59: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="#afbf82"
Gradient stop
<stop stop-color="#afbf82"/>
CSS variable + fill
:root { --c: #afbf82; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afbf82; background-color: #afbf82; bg-[#afbf82]