Skip to content
Vectorlight.net

#dad42d

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

HEX
#dad42d
RGB
218, 212, 45
HSL
57.92°, 70.04%, 51.57%
OKLCH
0.85 0.17 107.35
Names
—
Lists

Codes

FormatValue
HEX#dad42d
RGBrgb(218 212 45)
HSLhsl(57.92 70.04% 51.57%)
OKLCHoklch(0.85 0.17 107.35)
CMYKcmyk(0% 2.75% 79.36% 14.51%)
Android#ffdad42d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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