Skip to content
Vectorlight.net

#fecd1f

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

HEX
#fecd1f
RGB
254, 205, 31
HSL
46.82°, 99.11%, 55.88%
OKLCH
0.87 0.17 90.56
Names
—
Lists

Codes

FormatValue
HEX#fecd1f
RGBrgb(254 205 31)
HSLhsl(46.82 99.11% 55.88%)
OKLCHoklch(0.87 0.17 90.56)
CMYKcmyk(0% 19.29% 87.8% 0.39%)
Android#fffecd1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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