Skip to content
Vectorlight.net

#a87f1c

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

HEX
#a87f1c
RGB
168, 127, 28
HSL
42.43°, 71.43%, 38.43%
OKLCH
0.62 0.12 83.84
Names
—
Lists

Codes

FormatValue
HEX#a87f1c
RGBrgb(168 127 28)
HSLhsl(42.43 71.43% 38.43%)
OKLCHoklch(0.62 0.12 83.84)
CMYKcmyk(0% 24.4% 83.33% 34.12%)
Android#ffa87f1c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.67:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.71: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="#a87f1c"
Gradient stop
<stop stop-color="#a87f1c"/>
CSS variable + fill
:root { --c: #a87f1c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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