Skip to content
Vectorlight.net

#fec04c

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

HEX
#fec04c
RGB
254, 192, 76
HSL
39.1°, 98.89%, 64.71%
OKLCH
0.84 0.15 79.78
Names
—
Lists

Codes

FormatValue
HEX#fec04c
RGBrgb(254 192 76)
HSLhsl(39.1 98.89% 64.71%)
OKLCHoklch(0.84 0.15 79.78)
CMYKcmyk(0% 24.41% 70.08% 0.39%)
Android#fffec04c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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