Skip to content
Vectorlight.net

#fec02e

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

HEX
#fec02e
RGB
254, 192, 46
HSL
42.12°, 99.05%, 58.82%
OKLCH
0.84 0.16 83.1
Names
—
Lists

Codes

FormatValue
HEX#fec02e
RGBrgb(254 192 46)
HSLhsl(42.12 99.05% 58.82%)
OKLCHoklch(0.84 0.16 83.1)
CMYKcmyk(0% 24.41% 81.89% 0.39%)
Android#fffec02e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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