#afb855
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 | #afb855 | |
| RGB | rgb(175 184 85) | |
| HSL | hsl(65.45 41.08% 52.75%) | |
| OKLCH | oklch(0.75 0.12 113.68) | |
| CMYK | cmyk(4.89% 0% 53.8% 27.84%) | |
| Android | #ffafb855 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.14:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.81: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="#afb855"
Gradient stop
<stop stop-color="#afb855"/>
CSS variable + fill
:root { --c: #afb855; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afb855; background-color: #afb855; bg-[#afb855]