Skip to content
Vectorlight.net

#dfaf48

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

HEX
#dfaf48
RGB
223, 175, 72
HSL
40.93°, 70.23%, 57.84%
OKLCH
0.78 0.13 83.49
Names
—
Lists

Codes

FormatValue
HEX#dfaf48
RGBrgb(223 175 72)
HSLhsl(40.93 70.23% 57.84%)
OKLCHoklch(0.78 0.13 83.49)
CMYKcmyk(0% 21.52% 67.71% 12.55%)
Android#ffdfaf48

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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