Skip to content

#dafd49

a balanced, electric green · cool · closest name: yellow

RGB
218, 253, 73
HSL
72°, 98%, 64%
CMYK
14, 0, 71, 1
Luminance
0.8564

Every format

HEX#dafd49
RGBrgb(218, 253, 73)
HSLhsl(72, 98%, 64%)
CMYKcmyk(14%, 0%, 71%, 1%)
LABlab(94.2 -33.8 77.4)
LCHlch(94.2 84.4 113.6)
OKLCHoklch(0.938 0.199 120.1)

Copy-ready code

/* CSS */
color: #dafd49;
background-color: #dafd49;
/* Tailwind (arbitrary) */
class="text-[#dafd49] bg-[#dafd49]"
/* SCSS */
$brand: #dafd49;
/* SwiftUI */
Color(red: 0.855, green: 0.992, blue: 0.286)
/* Android */
Color.parseColor("#dafd49")

Accessibility — WCAG contrast

Aa
#dafd49 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#dafd49 on black: 18.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green99.2%
Blue28.6%

CMYK percentages

Cyan13.8%
Magenta0.0%
Yellow71.1%
Key (black)0.8%

Color previews

#dafd49 text on a black background

contrast 18.13:1

Card sample

#dafd49 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #dafd49;
Background color
Panel with #dafd49 background
background-color: #dafd49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #dafd49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(218, 253, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 253, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dafd49;
background: linear-gradient(135deg, #dafd49, #62FD49);

Monochromatic scale

Palettes built from #dafd49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dafd49 in the Color Lab