Skip to content
Vectorlight.net

#97871f

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

HEX
#97871f
RGB
151, 135, 31
HSL
52°, 65.93%, 35.69%
OKLCH
0.62 0.12 100
Names
—
Lists

Codes

FormatValue
HEX#97871f
RGBrgb(151 135 31)
HSLhsl(52 65.93% 35.69%)
OKLCHoklch(0.62 0.12 100)
CMYKcmyk(0% 10.6% 79.47% 40.78%)
Android#ff97871f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #97871f;
background-color: #97871f;
bg-[#97871f]