Skip to content
Vectorlight.net

#ecbb1a

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

HEX
#ecbb1a
RGB
236, 187, 26
HSL
46°, 84.68%, 51.37%
OKLCH
0.81 0.16 88.92
Names
—
Lists

Codes

FormatValue
HEX#ecbb1a
RGBrgb(236 187 26)
HSLhsl(46 84.68% 51.37%)
OKLCHoklch(0.81 0.16 88.92)
CMYKcmyk(0% 20.76% 88.98% 7.45%)
Android#ffecbb1a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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