Skip to content

#d4ff2c

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

RGB
212, 255, 44
HSL
72°, 100%, 59%
CMYK
17, 0, 83, 0
Luminance
0.8570

Every format

HEX#d4ff2c
RGBrgb(212, 255, 44)
HSLhsl(72, 100%, 59%)
CMYKcmyk(17%, 0%, 83%, 0%)
LABlab(94.2 -38.1 85.3)
LCHlch(94.2 93.5 114.1)
OKLCHoklch(0.937 0.217 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green100.0%
Blue17.3%

CMYK percentages

Cyan16.9%
Magenta0.0%
Yellow82.7%
Key (black)0.0%

Color previews

#d4ff2c text on a black background

contrast 18.14:1

Card sample

#d4ff2c text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4ff2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4ff2c in the Color Lab