Skip to content
Vectorlight.net

#ffd51e

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

HEX
#ffd51e
RGB
255, 213, 30
HSL
48.8°, 100%, 55.88%
OKLCH
0.88 0.18 93.96
Names
—
Lists

Codes

FormatValue
HEX#ffd51e
RGBrgb(255 213 30)
HSLhsl(48.8 100% 55.88%)
OKLCHoklch(0.88 0.18 93.96)
CMYKcmyk(0% 16.47% 88.24% 0%)
Android#ffffd51e

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.78: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="#ffd51e"
Gradient stop
<stop stop-color="#ffd51e"/>
CSS variable + fill
:root { --c: #ffd51e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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