Skip to content
Vectorlight.net

#b4a42e

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

HEX
#b4a42e
RGB
180, 164, 46
HSL
52.84°, 59.29%, 44.31%
OKLCH
0.71 0.13 101.3
Names
—
Lists

Codes

FormatValue
HEX#b4a42e
RGBrgb(180 164 46)
HSLhsl(52.84 59.29% 44.31%)
OKLCHoklch(0.71 0.13 101.3)
CMYKcmyk(0% 8.89% 74.44% 29.41%)
Android#ffb4a42e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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