Skip to content
Vectorlight.net

#b9801f

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

HEX
#b9801f
RGB
185, 128, 31
HSL
37.79°, 71.3%, 42.35%
OKLCH
0.64 0.13 74.83
Names
—
Lists

Codes

FormatValue
HEX#b9801f
RGBrgb(185 128 31)
HSLhsl(37.79 71.3% 42.35%)
OKLCHoklch(0.64 0.13 74.83)
CMYKcmyk(0% 30.81% 83.24% 27.45%)
Android#ffb9801f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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