Skip to content
Vectorlight.net

#dfc642

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

HEX
#dfc642
RGB
223, 198, 66
HSL
50.45°, 71.04%, 56.67%
OKLCH
0.82 0.15 98.24
Names
—
Lists

Codes

FormatValue
HEX#dfc642
RGBrgb(223 198 66)
HSLhsl(50.45 71.04% 56.67%)
OKLCHoklch(0.82 0.15 98.24)
CMYKcmyk(0% 11.21% 70.4% 12.55%)
Android#ffdfc642

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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