Skip to content
Vectorlight.net

#b2ab2a

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

HEX
#b2ab2a
RGB
178, 171, 42
HSL
56.91°, 61.82%, 43.14%
OKLCH
0.73 0.14 106.23
Names
—
Lists

Codes

FormatValue
HEX#b2ab2a
RGBrgb(178 171 42)
HSLhsl(56.91 61.82% 43.14%)
OKLCHoklch(0.73 0.14 106.23)
CMYKcmyk(0% 3.93% 76.4% 30.2%)
Android#ffb2ab2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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