Skip to content
Vectorlight.net

#ecba31

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

HEX
#ecba31
RGB
236, 186, 49
HSL
43.96°, 83.11%, 55.88%
OKLCH
0.81 0.15 87.03
Names
—
Lists

Codes

FormatValue
HEX#ecba31
RGBrgb(236 186 49)
HSLhsl(43.96 83.11% 55.88%)
OKLCHoklch(0.81 0.15 87.03)
CMYKcmyk(0% 21.19% 79.24% 7.45%)
Android#ffecba31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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