Skip to content
Vectorlight.net

#fedc02

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

HEX
#fedc02
RGB
254, 220, 2
HSL
51.9°, 99.21%, 50.2%
OKLCH
0.9 0.18 97.79
Names
—
Lists

Codes

FormatValue
HEX#fedc02
RGBrgb(254 220 2)
HSLhsl(51.9 99.21% 50.2%)
OKLCHoklch(0.9 0.18 97.79)
CMYKcmyk(0% 13.39% 99.21% 0.39%)
Android#fffedc02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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