Skip to content
Vectorlight.net

#fec52e

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

HEX
#fec52e
RGB
254, 197, 46
HSL
43.56°, 99.05%, 58.82%
OKLCH
0.85 0.16 85.77
Names
—
Lists

Codes

FormatValue
HEX#fec52e
RGBrgb(254 197 46)
HSLhsl(43.56 99.05% 58.82%)
OKLCHoklch(0.85 0.16 85.77)
CMYKcmyk(0% 22.44% 81.89% 0.39%)
Android#fffec52e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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