Skip to content
Vectorlight.net

#fed540

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

HEX
#fed540
RGB
254, 213, 64
HSL
47.05°, 98.96%, 62.35%
OKLCH
0.88 0.16 92.81
Names
—
Lists

Codes

FormatValue
HEX#fed540
RGBrgb(254 213 64)
HSLhsl(47.05 98.96% 62.35%)
OKLCHoklch(0.88 0.16 92.81)
CMYKcmyk(0% 16.14% 74.8% 0.39%)
Android#fffed540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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