Skip to content

#dafd3d

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

RGB
218, 253, 61
HSL
71°, 98%, 62%
CMYK
14, 0, 76, 1
Luminance
0.8549

Every format

HEX#dafd3d
RGBrgb(218, 253, 61)
HSLhsl(71, 98%, 62%)
CMYKcmyk(14%, 0%, 76%, 1%)
LABlab(94.1 -34.3 81.1)
LCHlch(94.1 88.0 112.9)
OKLCHoklch(0.937 0.205 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green99.2%
Blue23.9%

CMYK percentages

Cyan13.8%
Magenta0.0%
Yellow75.9%
Key (black)0.8%

Color previews

#dafd3d text on a black background

contrast 18.10:1

Card sample

#dafd3d text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dafd3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dafd3d in the Color Lab