Skip to content
Vectorlight.net

#ecd451

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

HEX
#ecd451
RGB
236, 212, 81
HSL
50.71°, 80.31%, 62.16%
OKLCH
0.87 0.15 98.8
Names
—
Lists

Codes

FormatValue
HEX#ecd451
RGBrgb(236 212 81)
HSLhsl(50.71 80.31% 62.16%)
OKLCHoklch(0.87 0.15 98.8)
CMYKcmyk(0% 10.17% 65.68% 7.45%)
Android#ffecd451

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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