Skip to content
Vectorlight.net

#fec72b

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

HEX
#fec72b
RGB
254, 199, 43
HSL
44.36°, 99.06%, 58.24%
OKLCH
0.86 0.17 87.01
Names
—
Lists

Codes

FormatValue
HEX#fec72b
RGBrgb(254 199 43)
HSLhsl(44.36 99.06% 58.24%)
OKLCHoklch(0.86 0.17 87.01)
CMYKcmyk(0% 21.65% 83.07% 0.39%)
Android#fffec72b

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

Recolor an SVG with this color

CSS

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