Skip to content
Vectorlight.net

#dfb542

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

HEX
#dfb542
RGB
223, 181, 66
HSL
43.95°, 71.04%, 56.67%
OKLCH
0.79 0.14 88.32
Names
—
Lists

Codes

FormatValue
HEX#dfb542
RGBrgb(223 181 66)
HSLhsl(43.95 71.04% 56.67%)
OKLCHoklch(0.79 0.14 88.32)
CMYKcmyk(0% 18.83% 70.4% 12.55%)
Android#ffdfb542

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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