Skip to content
Vectorlight.net

#ecc03b

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

HEX
#ecc03b
RGB
236, 192, 59
HSL
45.08°, 82.33%, 57.84%
OKLCH
0.82 0.15 89.61
Names
—
Lists

Codes

FormatValue
HEX#ecc03b
RGBrgb(236 192 59)
HSLhsl(45.08 82.33% 57.84%)
OKLCHoklch(0.82 0.15 89.61)
CMYKcmyk(0% 18.64% 75% 7.45%)
Android#ffecc03b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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