Skip to content
Vectorlight.net

#fcf22c

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

HEX
#fcf22c
RGB
252, 242, 44
HSL
57.12°, 97.2%, 58.04%
OKLCH
0.94 0.19 106.38
Names
—
Lists

Codes

FormatValue
HEX#fcf22c
RGBrgb(252 242 44)
HSLhsl(57.12 97.2% 58.04%)
OKLCHoklch(0.94 0.19 106.38)
CMYKcmyk(0% 3.97% 82.54% 1.18%)
Android#fffcf22c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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