Skip to content

#d2ed4f

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

RGB
210, 237, 79
HSL
70°, 81%, 62%
CMYK
11, 0, 67, 7
Luminance
0.7483

Every format

HEX#d2ed4f
RGBrgb(210, 237, 79)
HSLhsl(70, 81%, 62%)
CMYKcmyk(11%, 0%, 67%, 7%)
LABlab(89.3 -29.2 70.3)
LCHlch(89.3 76.1 112.6)
OKLCHoklch(0.898 0.180 118.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ed4f on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#d2ed4f on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green92.9%
Blue31.0%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow66.7%
Key (black)7.1%

Color previews

#d2ed4f text on a black background

contrast 15.97:1

Card sample

#d2ed4f text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ed4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ed4f in the Color Lab