Skip to content
Vectorlight.net

#fec12e

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

HEX
#fec12e
RGB
254, 193, 46
HSL
42.4°, 99.05%, 58.82%
OKLCH
0.84 0.16 83.64
Names
—
Lists

Codes

FormatValue
HEX#fec12e
RGBrgb(254 193 46)
HSLhsl(42.4 99.05% 58.82%)
OKLCHoklch(0.84 0.16 83.64)
CMYKcmyk(0% 24.02% 81.89% 0.39%)
Android#fffec12e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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