Skip to content
Vectorlight.net

#fcd12a

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

HEX
#fcd12a
RGB
252, 209, 42
HSL
47.71°, 97.22%, 57.65%
OKLCH
0.87 0.17 92.83
Names
—
Lists

Codes

FormatValue
HEX#fcd12a
RGBrgb(252 209 42)
HSLhsl(47.71 97.22% 57.65%)
OKLCHoklch(0.87 0.17 92.83)
CMYKcmyk(0% 17.06% 83.33% 1.18%)
Android#fffcd12a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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