Skip to content
Vectorlight.net

#fec72a

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

HEX
#fec72a
RGB
254, 199, 42
HSL
44.43°, 99.07%, 58.04%
OKLCH
0.86 0.17 87.07
Names
—
Lists

Codes

FormatValue
HEX#fec72a
RGBrgb(254 199 42)
HSLhsl(44.43 99.07% 58.04%)
OKLCHoklch(0.86 0.17 87.07)
CMYKcmyk(0% 21.65% 83.46% 0.39%)
Android#fffec72a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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