Skip to content
Vectorlight.net

#fed81f

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

HEX
#fed81f
RGB
254, 216, 31
HSL
49.78°, 99.11%, 55.88%
OKLCH
0.89 0.18 95.65
Names
—
Lists

Codes

FormatValue
HEX#fed81f
RGBrgb(254 216 31)
HSLhsl(49.78 99.11% 55.88%)
OKLCHoklch(0.89 0.18 95.65)
CMYKcmyk(0% 14.96% 87.8% 0.39%)
Android#fffed81f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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