Skip to content
Vectorlight.net

#dafa52

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

HEX
#dafa52
RGB
218, 250, 82
HSL
71.43°, 94.38%, 65.1%
OKLCH
0.93 0.19 119.59
Names
—
Lists

Codes

FormatValue
HEX#dafa52
RGBrgb(218 250 82)
HSLhsl(71.43 94.38% 65.1%)
OKLCHoklch(0.93 0.19 119.59)
CMYKcmyk(12.8% 0% 67.2% 1.96%)
Android#ffdafa52

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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