Skip to content
Vectorlight.net

#ecc56f

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

HEX
#ecc56f
RGB
236, 197, 111
HSL
41.28°, 76.69%, 68.04%
OKLCH
0.84 0.11 85.52
Names
—
Lists

Codes

FormatValue
HEX#ecc56f
RGBrgb(236 197 111)
HSLhsl(41.28 76.69% 68.04%)
OKLCHoklch(0.84 0.11 85.52)
CMYKcmyk(0% 16.53% 52.97% 7.45%)
Android#ffecc56f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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