Skip to content
Vectorlight.net

#ddaf28

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

HEX
#ddaf28
RGB
221, 175, 40
HSL
44.75°, 72.69%, 51.18%
OKLCH
0.77 0.15 88.04
Names
—
Lists

Codes

FormatValue
HEX#ddaf28
RGBrgb(221 175 40)
HSLhsl(44.75 72.69% 51.18%)
OKLCHoklch(0.77 0.15 88.04)
CMYKcmyk(0% 20.81% 81.9% 13.33%)
Android#ffddaf28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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