Skip to content
Vectorlight.net

#ecc73a

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

HEX
#ecc73a
RGB
236, 199, 58
HSL
47.53°, 82.41%, 57.65%
OKLCH
0.84 0.15 93.52
Names
—
Lists

Codes

FormatValue
HEX#ecc73a
RGBrgb(236 199 58)
HSLhsl(47.53 82.41% 57.65%)
OKLCHoklch(0.84 0.15 93.52)
CMYKcmyk(0% 15.68% 75.42% 7.45%)
Android#ffecc73a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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