Skip to content
Vectorlight.net

#ba9946

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

HEX
#ba9946
RGB
186, 153, 70
HSL
42.93°, 45.67%, 50.2%
OKLCH
0.7 0.11 87.55
Names
—
Lists

Codes

FormatValue
HEX#ba9946
RGBrgb(186 153 70)
HSLhsl(42.93 45.67% 50.2%)
OKLCHoklch(0.7 0.11 87.55)
CMYKcmyk(0% 17.74% 62.37% 27.06%)
Android#ffba9946

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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