Skip to content
Vectorlight.net

#ffd451

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

HEX
#ffd451
RGB
255, 212, 81
HSL
45.17°, 100%, 65.88%
OKLCH
0.88 0.15 90.5
Names
—
Lists

Codes

FormatValue
HEX#ffd451
RGBrgb(255 212 81)
HSLhsl(45.17 100% 65.88%)
OKLCHoklch(0.88 0.15 90.5)
CMYKcmyk(0% 16.86% 68.24% 0%)
Android#ffffd451

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

Recolor an SVG with this color

CSS

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