Skip to content
Vectorlight.net

#fcc300

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

HEX
#fcc300
RGB
252, 195, 0
HSL
46.43°, 100%, 49.41%
OKLCH
0.84 0.17 87.21
Names
—
Lists

Codes

FormatValue
HEX#fcc300
RGBrgb(252 195 0)
HSLhsl(46.43 100% 49.41%)
OKLCHoklch(0.84 0.17 87.21)
CMYKcmyk(0% 22.62% 100% 1.18%)
Android#fffcc300

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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