Skip to content
Vectorlight.net

#dfec2a

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

HEX
#dfec2a
RGB
223, 236, 42
HSL
64.02°, 83.62%, 54.51%
OKLCH
0.9 0.19 113.81
Names
—
Lists

Codes

FormatValue
HEX#dfec2a
RGBrgb(223 236 42)
HSLhsl(64.02 83.62% 54.51%)
OKLCHoklch(0.9 0.19 113.81)
CMYKcmyk(5.51% 0% 82.2% 7.45%)
Android#ffdfec2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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