Skip to content
Vectorlight.net

#dfec7a

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

HEX
#dfec7a
RGB
223, 236, 122
HSL
66.84°, 75%, 70.2%
OKLCH
0.91 0.14 114.57
Names
—
Lists

Codes

FormatValue
HEX#dfec7a
RGBrgb(223 236 122)
HSLhsl(66.84 75% 70.2%)
OKLCHoklch(0.91 0.14 114.57)
CMYKcmyk(5.51% 0% 48.31% 7.45%)
Android#ffdfec7a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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