Skip to content
Vectorlight.net

#ecc000

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

HEX
#ecc000
RGB
236, 192, 0
HSL
48.81°, 100%, 46.27%
OKLCH
0.82 0.17 92.07
Names
—
Lists

Codes

FormatValue
HEX#ecc000
RGBrgb(236 192 0)
HSLhsl(48.81 100% 46.27%)
OKLCHoklch(0.82 0.17 92.07)
CMYKcmyk(0% 18.64% 100% 7.45%)
Android#ffecc000

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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