Skip to content
Vectorlight.net

#dafa78

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

HEX
#dafa78
RGB
218, 250, 120
HSL
74.77°, 92.86%, 72.55%
OKLCH
0.94 0.16 121.05
Names
—
Lists

Codes

FormatValue
HEX#dafa78
RGBrgb(218 250 120)
HSLhsl(74.77 92.86% 72.55%)
OKLCHoklch(0.94 0.16 121.05)
CMYKcmyk(12.8% 0% 52% 1.96%)
Android#ffdafa78

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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