Skip to content

#d2ff2c

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

RGB
210, 255, 44
HSL
73°, 100%, 59%
CMYK
18, 0, 83, 0
Luminance
0.8540

Every format

HEX#d2ff2c
RGBrgb(210, 255, 44)
HSLhsl(73, 100%, 59%)
CMYKcmyk(18%, 0%, 83%, 0%)
LABlab(94.1 -38.9 85.2)
LCHlch(94.1 93.7 114.5)
OKLCHoklch(0.936 0.218 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green100.0%
Blue17.3%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow82.7%
Key (black)0.0%

Color previews

#d2ff2c text on a black background

contrast 18.08:1

Card sample

#d2ff2c text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ff2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ff2c in the Color Lab