#a87f45
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 | #a87f45 | |
| RGB | rgb(168 127 69) | |
| HSL | hsl(35.15 41.77% 46.47%) | |
| OKLCH | oklch(0.62 0.09 74.33) | |
| CMYK | cmyk(0% 24.4% 58.93% 34.12%) | |
| Android | #ffa87f45 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.62:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.78: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="#a87f45"
Gradient stop
<stop stop-color="#a87f45"/>
CSS variable + fill
:root { --c: #a87f45; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a87f45; background-color: #a87f45; bg-[#a87f45]