Skip to content
Vectorlight.net

#fed51e

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

HEX
#fed51e
RGB
254, 213, 30
HSL
49.02°, 99.12%, 55.69%
OKLCH
0.88 0.18 94.34
Names
—
Lists

Codes

FormatValue
HEX#fed51e
RGBrgb(254 213 30)
HSLhsl(49.02 99.12% 55.69%)
OKLCHoklch(0.88 0.18 94.34)
CMYKcmyk(0% 16.14% 88.19% 0.39%)
Android#fffed51e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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