Skip to content
Vectorlight.net

#b2ab54

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

HEX
#b2ab54
RGB
178, 171, 84
HSL
55.53°, 37.9%, 51.37%
OKLCH
0.73 0.11 104.62
Names
—
Lists

Codes

FormatValue
HEX#b2ab54
RGBrgb(178 171 84)
HSLhsl(55.53 37.9% 51.37%)
OKLCHoklch(0.73 0.11 104.62)
CMYKcmyk(0% 3.93% 52.81% 30.2%)
Android#ffb2ab54

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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