Skip to content

#daff20

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

RGB
218, 255, 32
HSL
70°, 100%, 56%
CMYK
15, 0, 88, 0
Luminance
0.8653

Every format

HEX#daff20
RGBrgb(218, 255, 32)
HSLhsl(70, 100%, 56%)
CMYKcmyk(15%, 0%, 88%, 0%)
LABlab(94.5 -36.1 88.1)
LCHlch(94.5 95.2 112.3)
OKLCHoklch(0.941 0.218 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green100.0%
Blue12.5%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow87.5%
Key (black)0.0%

Color previews

#daff20 text on a black background

contrast 18.31:1

Card sample

#daff20 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daff20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daff20 in the Color Lab