Skip to content

#d2fc4f

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

RGB
210, 252, 79
HSL
75°, 97%, 65%
CMYK
17, 0, 69, 1
Luminance
0.8389

Every format

HEX#d2fc4f
RGBrgb(210, 252, 79)
HSLhsl(75, 97%, 65%)
CMYKcmyk(17%, 0%, 69%, 1%)
LABlab(93.4 -36.1 74.4)
LCHlch(93.4 82.7 115.9)
OKLCHoklch(0.931 0.197 122.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green98.8%
Blue31.0%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow68.7%
Key (black)1.2%

Color previews

#d2fc4f text on a black background

contrast 17.78:1

Card sample

#d2fc4f text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 252, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 252, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2fc4f;
background: linear-gradient(135deg, #d2fc4f, #5FFC4F);

Monochromatic scale

Palettes built from #d2fc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fc4f in the Color Lab