Skip to content
Vectorlight.net

#a9871f

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

HEX
#a9871f
RGB
169, 135, 31
HSL
45.22°, 69%, 39.22%
OKLCH
0.64 0.12 89.13
Names
—
Lists

Codes

FormatValue
HEX#a9871f
RGBrgb(169 135 31)
HSLhsl(45.22 69% 39.22%)
OKLCHoklch(0.64 0.12 89.13)
CMYKcmyk(0% 20.12% 81.66% 33.73%)
Android#ffa9871f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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