Skip to content
Vectorlight.net

#ba8b2c

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

HEX
#ba8b2c
RGB
186, 139, 44
HSL
40.14°, 61.74%, 45.1%
OKLCH
0.67 0.12 80.84
Names
—
Lists

Codes

FormatValue
HEX#ba8b2c
RGBrgb(186 139 44)
HSLhsl(40.14 61.74% 45.1%)
OKLCHoklch(0.67 0.12 80.84)
CMYKcmyk(0% 25.27% 76.34% 27.06%)
Android#ffba8b2c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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