Skip to content
Vectorlight.net

#a7871d

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#a7871d
RGB
167, 135, 29
HSL
46.09°, 70.41%, 38.43%
OKLCH
0.64 0.12 90.49
Names
—
Lists

Codes

FormatValue
HEX#a7871d
RGBrgb(167 135 29)
HSLhsl(46.09 70.41% 38.43%)
OKLCHoklch(0.64 0.12 90.49)
CMYKcmyk(0% 19.16% 82.63% 34.51%)
Android#ffa7871d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.12:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#a7871d"
Gradient stop
<stop stop-color="#a7871d"/>
CSS variable + fill
:root { --c: #a7871d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a7871d;
background-color: #a7871d;
bg-[#a7871d]