Skip to content
Vectorlight.net

#bbb402

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

HEX
#bbb402
RGB
187, 180, 2
HSL
57.73°, 97.88%, 37.06%
OKLCH
0.75 0.16 106.87
Names
—
Lists

Codes

FormatValue
HEX#bbb402
RGBrgb(187 180 2)
HSLhsl(57.73 97.88% 37.06%)
OKLCHoklch(0.75 0.16 106.87)
CMYKcmyk(0% 3.74% 98.93% 26.67%)
Android#ffbbb402

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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