Skip to content
Vectorlight.net

#fbcc0c

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

HEX
#fbcc0c
RGB
251, 204, 12
HSL
48.2°, 96.76%, 51.57%
OKLCH
0.86 0.17 91.73
Names
—
Lists

Codes

FormatValue
HEX#fbcc0c
RGBrgb(251 204 12)
HSLhsl(48.2 96.76% 51.57%)
OKLCHoklch(0.86 0.17 91.73)
CMYKcmyk(0% 18.73% 95.22% 1.57%)
Android#fffbcc0c

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.74: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="#fbcc0c"
Gradient stop
<stop stop-color="#fbcc0c"/>
CSS variable + fill
:root { --c: #fbcc0c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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