Skip to content
Vectorlight.net

#ddaf52

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

HEX
#ddaf52
RGB
221, 175, 82
HSL
40.14°, 67.15%, 59.41%
OKLCH
0.78 0.12 82.72
Names
—
Lists

Codes

FormatValue
HEX#ddaf52
RGBrgb(221 175 82)
HSLhsl(40.14 67.15% 59.41%)
OKLCHoklch(0.78 0.12 82.72)
CMYKcmyk(0% 20.81% 62.9% 13.33%)
Android#ffddaf52

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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