Skip to content
Vectorlight.net

#874e2a

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

HEX
#874e2a
RGB
135, 78, 42
HSL
23.23°, 52.54%, 34.71%
OKLCH
0.48 0.09 51.28
Names
—
Lists

Codes

FormatValue
HEX#874e2a
RGBrgb(135 78 42)
HSLhsl(23.23 52.54% 34.71%)
OKLCHoklch(0.48 0.09 51.28)
CMYKcmyk(0% 42.22% 68.89% 47.06%)
Android#ff874e2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#874e2a"
Gradient stop
<stop stop-color="#874e2a"/>
CSS variable + fill
:root { --c: #874e2a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #874e2a;
background-color: #874e2a;
bg-[#874e2a]