Skip to content
Vectorlight.net

#ecd162

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

HEX
#ecd162
RGB
236, 209, 98
HSL
48.26°, 78.41%, 65.49%
OKLCH
0.86 0.13 95.77
Names
—
Lists

Codes

FormatValue
HEX#ecd162
RGBrgb(236 209 98)
HSLhsl(48.26 78.41% 65.49%)
OKLCHoklch(0.86 0.13 95.77)
CMYKcmyk(0% 11.44% 58.47% 7.45%)
Android#ffecd162

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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