Skip to content
Vectorlight.net

#bab151

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

HEX
#bab151
RGB
186, 177, 81
HSL
54.86°, 43.21%, 52.35%
OKLCH
0.75 0.12 103.94
Names
—
Lists

Codes

FormatValue
HEX#bab151
RGBrgb(186 177 81)
HSLhsl(54.86 43.21% 52.35%)
OKLCHoklch(0.75 0.12 103.94)
CMYKcmyk(0% 4.84% 56.45% 27.06%)
Android#ffbab151

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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