Skip to content
Vectorlight.net

#ecc23b

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

HEX
#ecc23b
RGB
236, 194, 59
HSL
45.76°, 82.33%, 57.84%
OKLCH
0.83 0.15 90.73
Names
—
Lists

Codes

FormatValue
HEX#ecc23b
RGBrgb(236 194 59)
HSLhsl(45.76 82.33% 57.84%)
OKLCHoklch(0.83 0.15 90.73)
CMYKcmyk(0% 17.8% 75% 7.45%)
Android#ffecc23b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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