Skip to content
Vectorlight.net

#ffec9c

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

HEX
#ffec9c
RGB
255, 236, 156
HSL
48.48°, 100%, 80.59%
OKLCH
0.94 0.1 96.41
Names
—
Lists

Codes

FormatValue
HEX#ffec9c
RGBrgb(255 236 156)
HSLhsl(48.48 100% 80.59%)
OKLCHoklch(0.94 0.1 96.41)
CMYKcmyk(0% 7.45% 38.82% 0%)
Android#ffffec9c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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