Skip to content
Vectorlight.net

#fcd42f

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

HEX
#fcd42f
RGB
252, 212, 47
HSL
48.29°, 97.16%, 58.63%
OKLCH
0.88 0.17 94.04
Names
—
Lists

Codes

FormatValue
HEX#fcd42f
RGBrgb(252 212 47)
HSLhsl(48.29 97.16% 58.63%)
OKLCHoklch(0.88 0.17 94.04)
CMYKcmyk(0% 15.87% 81.35% 1.18%)
Android#fffcd42f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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