Skip to content
Vectorlight.net

#ecde21

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

HEX
#ecde21
RGB
236, 222, 33
HSL
55.86°, 84.23%, 52.75%
OKLCH
0.88 0.18 104.75
Names
—
Lists

Codes

FormatValue
HEX#ecde21
RGBrgb(236 222 33)
HSLhsl(55.86 84.23% 52.75%)
OKLCHoklch(0.88 0.18 104.75)
CMYKcmyk(0% 5.93% 86.02% 7.45%)
Android#ffecde21

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

Recolor an SVG with this color

CSS

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