Skip to content
Vectorlight.net

#ecbd2a

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

HEX
#ecbd2a
RGB
236, 189, 42
HSL
45.46°, 83.62%, 54.51%
OKLCH
0.82 0.16 89.19
Names
—
Lists

Codes

FormatValue
HEX#ecbd2a
RGBrgb(236 189 42)
HSLhsl(45.46 83.62% 54.51%)
OKLCHoklch(0.82 0.16 89.19)
CMYKcmyk(0% 19.92% 82.2% 7.45%)
Android#ffecbd2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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