Skip to content

#dafd39

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

RGB
218, 253, 57
HSL
71°, 98%, 61%
CMYK
14, 0, 78, 1
Luminance
0.8545

Every format

HEX#dafd39
RGBrgb(218, 253, 57)
HSLhsl(71, 98%, 61%)
CMYKcmyk(14%, 0%, 78%, 1%)
LABlab(94.1 -34.5 82.2)
LCHlch(94.1 89.1 112.7)
OKLCHoklch(0.937 0.207 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green99.2%
Blue22.4%

CMYK percentages

Cyan13.8%
Magenta0.0%
Yellow77.5%
Key (black)0.8%

Color previews

#dafd39 text on a black background

contrast 18.09:1

Card sample

#dafd39 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dafd39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dafd39 in the Color Lab