Skip to content
Vectorlight.net

#ecdb98

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

HEX
#ecdb98
RGB
236, 219, 152
HSL
47.86°, 68.85%, 76.08%
OKLCH
0.89 0.09 95.6
Names
—
Lists

Codes

FormatValue
HEX#ecdb98
RGBrgb(236 219 152)
HSLhsl(47.86 68.85% 76.08%)
OKLCHoklch(0.89 0.09 95.6)
CMYKcmyk(0% 7.2% 35.59% 7.45%)
Android#ffecdb98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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