Skip to content
Vectorlight.net

#b4871e

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

HEX
#b4871e
RGB
180, 135, 30
HSL
42°, 71.43%, 41.18%
OKLCH
0.65 0.12 82.95
Names
—
Lists

Codes

FormatValue
HEX#b4871e
RGBrgb(180 135 30)
HSLhsl(42 71.43% 41.18%)
OKLCHoklch(0.65 0.12 82.95)
CMYKcmyk(0% 25% 83.33% 29.41%)
Android#ffb4871e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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