Skip to content

#d2fd2a

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

RGB
210, 253, 42
HSL
72°, 98%, 58%
CMYK
17, 0, 83, 1
Luminance
0.8412

Every format

HEX#d2fd2a
RGBrgb(210, 253, 42)
HSLhsl(72, 98%, 58%)
CMYKcmyk(17%, 0%, 83%, 1%)
LABlab(93.5 -38.1 85.2)
LCHlch(93.5 93.3 114.1)
OKLCHoklch(0.931 0.216 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2fd2a on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#d2fd2a on black: 17.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green99.2%
Blue16.5%

CMYK percentages

Cyan17.0%
Magenta0.0%
Yellow83.4%
Key (black)0.8%

Color previews

#d2fd2a text on a black background

contrast 17.82:1

Card sample

#d2fd2a text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fd2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fd2a in the Color Lab