Skip to content
Vectorlight.net

#bbab1a

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

HEX
#bbab1a
RGB
187, 171, 26
HSL
54.04°, 75.59%, 41.76%
OKLCH
0.73 0.15 102.36
Names
—
Lists

Codes

FormatValue
HEX#bbab1a
RGBrgb(187 171 26)
HSLhsl(54.04 75.59% 41.76%)
OKLCHoklch(0.73 0.15 102.36)
CMYKcmyk(0% 8.56% 86.1% 26.67%)
Android#ffbbab1a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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