Skip to content
Vectorlight.net

#fed31d

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

HEX
#fed31d
RGB
254, 211, 29
HSL
48.53°, 99.12%, 55.49%
OKLCH
0.88 0.18 93.45
Names
—
Lists

Codes

FormatValue
HEX#fed31d
RGBrgb(254 211 29)
HSLhsl(48.53 99.12% 55.49%)
OKLCHoklch(0.88 0.18 93.45)
CMYKcmyk(0% 16.93% 88.58% 0.39%)
Android#fffed31d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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