Skip to content

#daff2f

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

RGB
218, 255, 47
HSL
71°, 100%, 59%
CMYK
15, 0, 82, 0
Luminance
0.8663

Every format

HEX#daff2f
RGBrgb(218, 255, 47)
HSLhsl(71, 100%, 59%)
CMYKcmyk(15%, 0%, 82%, 0%)
LABlab(94.6 -35.7 85.2)
LCHlch(94.6 92.3 112.7)
OKLCHoklch(0.941 0.213 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daff2f on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#daff2f on black: 18.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green100.0%
Blue18.4%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#daff2f text on a black background

contrast 18.33:1

Card sample

#daff2f text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 255, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 255, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daff2f;
background: linear-gradient(135deg, #daff2f, #4FFF2F);

Monochromatic scale

Palettes built from #daff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daff2f in the Color Lab