Skip to content
Vectorlight.net

#ecdc3b

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

HEX
#ecdc3b
RGB
236, 220, 59
HSL
54.58°, 82.33%, 57.84%
OKLCH
0.88 0.17 103.45
Names
—
Lists

Codes

FormatValue
HEX#ecdc3b
RGBrgb(236 220 59)
HSLhsl(54.58 82.33% 57.84%)
OKLCHoklch(0.88 0.17 103.45)
CMYKcmyk(0% 6.78% 75% 7.45%)
Android#ffecdc3b

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

Recolor an SVG with this color

CSS

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