Skip to content
Vectorlight.net

#ecba3d

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

HEX
#ecba3d
RGB
236, 186, 61
HSL
42.86°, 82.16%, 58.24%
OKLCH
0.81 0.15 85.91
Names
—
Lists

Codes

FormatValue
HEX#ecba3d
RGBrgb(236 186 61)
HSLhsl(42.86 82.16% 58.24%)
OKLCHoklch(0.81 0.15 85.91)
CMYKcmyk(0% 21.19% 74.15% 7.45%)
Android#ffecba3d

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.65: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="#ecba3d"
Gradient stop
<stop stop-color="#ecba3d"/>
CSS variable + fill
:root { --c: #ecba3d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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