Skip to content
Vectorlight.net

#b9840c

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

HEX
#b9840c
RGB
185, 132, 12
HSL
41.62°, 87.82%, 38.63%
OKLCH
0.65 0.13 79.58
Names
—
Lists

Codes

FormatValue
HEX#b9840c
RGBrgb(185 132 12)
HSLhsl(41.62 87.82% 38.63%)
OKLCHoklch(0.65 0.13 79.58)
CMYKcmyk(0% 28.65% 93.51% 27.45%)
Android#ffb9840c

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

Recolor an SVG with this color

CSS

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