Skip to content
Vectorlight.net

#fcd51f

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

HEX
#fcd51f
RGB
252, 213, 31
HSL
49.41°, 97.36%, 55.49%
OKLCH
0.88 0.18 95.07
Names
—
Lists

Codes

FormatValue
HEX#fcd51f
RGBrgb(252 213 31)
HSLhsl(49.41 97.36% 55.49%)
OKLCHoklch(0.88 0.18 95.07)
CMYKcmyk(0% 15.48% 87.7% 1.18%)
Android#fffcd51f

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

Recolor an SVG with this color

CSS

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