Skip to content
Vectorlight.net

#fbcc02

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

HEX
#fbcc02
RGB
251, 204, 2
HSL
48.67°, 98.42%, 49.61%
OKLCH
0.86 0.18 91.87
Names
—
Lists

Codes

FormatValue
HEX#fbcc02
RGBrgb(251 204 2)
HSLhsl(48.67 98.42% 49.61%)
OKLCHoklch(0.86 0.18 91.87)
CMYKcmyk(0% 18.73% 99.2% 1.57%)
Android#fffbcc02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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