Skip to content
Vectorlight.net

#b9971b

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

HEX
#b9971b
RGB
185, 151, 27
HSL
47.09°, 74.53%, 41.57%
OKLCH
0.69 0.13 91.7
Names
—
Lists

Codes

FormatValue
HEX#b9971b
RGBrgb(185 151 27)
HSLhsl(47.09 74.53% 41.57%)
OKLCHoklch(0.69 0.13 91.7)
CMYKcmyk(0% 18.38% 85.41% 27.45%)
Android#ffb9971b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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