Skip to content
Vectorlight.net

#fbc02c

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

HEX
#fbc02c
RGB
251, 192, 44
HSL
42.9°, 96.28%, 57.84%
OKLCH
0.84 0.16 84.45
Names
—
Lists

Codes

FormatValue
HEX#fbc02c
RGBrgb(251 192 44)
HSLhsl(42.9 96.28% 57.84%)
OKLCHoklch(0.84 0.16 84.45)
CMYKcmyk(0% 23.51% 82.47% 1.57%)
Android#fffbc02c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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