Skip to content
Vectorlight.net

#dfdf40

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

HEX
#dfdf40
RGB
223, 223, 64
HSL
60°, 71.3%, 56.27%
OKLCH
0.88 0.17 109.47
Names
—
Lists

Codes

FormatValue
HEX#dfdf40
RGBrgb(223 223 64)
HSLhsl(60 71.3% 56.27%)
OKLCHoklch(0.88 0.17 109.47)
CMYKcmyk(0% 0% 71.3% 12.55%)
Android#ffdfdf40

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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