Skip to content
Vectorlight.net

#fecc1a

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

HEX
#fecc1a
RGB
254, 204, 26
HSL
46.84°, 99.13%, 54.9%
OKLCH
0.86 0.17 90.25
Names
—
Lists

Codes

FormatValue
HEX#fecc1a
RGBrgb(254 204 26)
HSLhsl(46.84 99.13% 54.9%)
OKLCHoklch(0.86 0.17 90.25)
CMYKcmyk(0% 19.69% 89.76% 0.39%)
Android#fffecc1a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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