Skip to content
Vectorlight.net

#ecb52c

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

HEX
#ecb52c
RGB
236, 181, 44
HSL
42.81°, 83.48%, 54.9%
OKLCH
0.8 0.15 84.57
Names
—
Lists

Codes

FormatValue
HEX#ecb52c
RGBrgb(236 181 44)
HSLhsl(42.81 83.48% 54.9%)
OKLCHoklch(0.8 0.15 84.57)
CMYKcmyk(0% 23.31% 81.36% 7.45%)
Android#ffecb52c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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