Skip to content
Vectorlight.net

#fec03b

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

HEX
#fec03b
RGB
254, 192, 59
HSL
40.92°, 98.98%, 61.37%
OKLCH
0.84 0.16 81.92
Names
—
Lists

Codes

FormatValue
HEX#fec03b
RGBrgb(254 192 59)
HSLhsl(40.92 98.98% 61.37%)
OKLCHoklch(0.84 0.16 81.92)
CMYKcmyk(0% 24.41% 76.77% 0.39%)
Android#fffec03b

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

Recolor an SVG with this color

CSS

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