Skip to content
Vectorlight.net

#b97a2a

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

HEX
#b97a2a
RGB
185, 122, 42
HSL
33.57°, 63%, 44.51%
OKLCH
0.63 0.12 68.12
Names
—
Lists

Codes

FormatValue
HEX#b97a2a
RGBrgb(185 122 42)
HSLhsl(33.57 63% 44.51%)
OKLCHoklch(0.63 0.12 68.12)
CMYKcmyk(0% 34.05% 77.3% 27.45%)
Android#ffb97a2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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