Skip to content
Vectorlight.net

#b98a2f

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

HEX
#b98a2f
RGB
185, 138, 47
HSL
39.57°, 59.48%, 45.49%
OKLCH
0.66 0.12 80.1
Names
—
Lists

Codes

FormatValue
HEX#b98a2f
RGBrgb(185 138 47)
HSLhsl(39.57 59.48% 45.49%)
OKLCHoklch(0.66 0.12 80.1)
CMYKcmyk(0% 25.41% 74.59% 27.45%)
Android#ffb98a2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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