Skip to content
Vectorlight.net

#b98b2a

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

HEX
#b98b2a
RGB
185, 139, 42
HSL
40.7°, 63%, 44.51%
OKLCH
0.66 0.12 81.69
Names
—
Lists

Codes

FormatValue
HEX#b98b2a
RGBrgb(185 139 42)
HSLhsl(40.7 63% 44.51%)
OKLCHoklch(0.66 0.12 81.69)
CMYKcmyk(0% 24.86% 77.3% 27.45%)
Android#ffb98b2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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