Skip to content

#d2f721

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

RGB
210, 247, 33
HSL
70°, 93%, 55%
CMYK
15, 0, 87, 3
Luminance
0.8033

Every format

HEX#d2f721
RGBrgb(210, 247, 33)
HSLhsl(70, 93%, 55%)
CMYKcmyk(15%, 0%, 87%, 3%)
LABlab(91.8 -35.6 85.5)
LCHlch(91.8 92.6 112.6)
OKLCHoklch(0.917 0.212 120.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f721 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#d2f721 on black: 17.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green96.9%
Blue12.9%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow86.6%
Key (black)3.1%

Color previews

#d2f721 text on a black background

contrast 17.07:1

Card sample

#d2f721 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 247, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 247, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f721;
background: linear-gradient(135deg, #d2f721, #43F721);

Monochromatic scale

Palettes built from #d2f721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f721 in the Color Lab