Skip to content

#d2fd0c

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

RGB
210, 253, 12
HSL
71°, 98%, 52%
CMYK
17, 0, 95, 1
Luminance
0.8398

Every format

HEX#d2fd0c
RGBrgb(210, 253, 12)
HSLhsl(71, 98%, 52%)
CMYKcmyk(17%, 0%, 95%, 1%)
LABlab(93.4 -38.6 89.5)
LCHlch(93.4 97.4 113.4)
OKLCHoklch(0.930 0.223 121.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green99.2%
Blue4.7%

CMYK percentages

Cyan17.0%
Magenta0.0%
Yellow95.3%
Key (black)0.8%

Color previews

#d2fd0c text on a black background

contrast 17.80:1

Card sample

#d2fd0c text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fd0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fd0c in the Color Lab