Skip to content
Vectorlight.net

#b2871b

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

HEX
#b2871b
RGB
178, 135, 27
HSL
42.91°, 73.66%, 40.2%
OKLCH
0.65 0.13 84.36
Names
—
Lists

Codes

FormatValue
HEX#b2871b
RGBrgb(178 135 27)
HSLhsl(42.91 73.66% 40.2%)
OKLCHoklch(0.65 0.13 84.36)
CMYKcmyk(0% 24.16% 84.83% 30.2%)
Android#ffb2871b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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