Skip to content
Vectorlight.net

#bbb221

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

HEX
#bbb221
RGB
187, 178, 33
HSL
56.49°, 70%, 43.14%
OKLCH
0.75 0.15 105.66
Names
—
Lists

Codes

FormatValue
HEX#bbb221
RGBrgb(187 178 33)
HSLhsl(56.49 70% 43.14%)
OKLCHoklch(0.75 0.15 105.66)
CMYKcmyk(0% 4.81% 82.35% 26.67%)
Android#ffbbb221

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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