Skip to content
Vectorlight.net

#b4ac2a

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

HEX
#b4ac2a
RGB
180, 172, 42
HSL
56.52°, 62.16%, 43.53%
OKLCH
0.73 0.14 105.78
Names
—
Lists

Codes

FormatValue
HEX#b4ac2a
RGBrgb(180 172 42)
HSLhsl(56.52 62.16% 43.53%)
OKLCHoklch(0.73 0.14 105.78)
CMYKcmyk(0% 4.44% 76.67% 29.41%)
Android#ffb4ac2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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