Skip to content
Vectorlight.net

#ba9538

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

HEX
#ba9538
RGB
186, 149, 56
HSL
42.92°, 53.72%, 47.45%
OKLCH
0.69 0.12 86.75
Names
—
Lists

Codes

FormatValue
HEX#ba9538
RGBrgb(186 149 56)
HSLhsl(42.92 53.72% 47.45%)
OKLCHoklch(0.69 0.12 86.75)
CMYKcmyk(0% 19.89% 69.89% 27.06%)
Android#ffba9538

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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