Skip to content

#d2fa54

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

RGB
210, 250, 84
HSL
75°, 94%, 66%
CMYK
16, 0, 66, 2
Luminance
0.8271

Every format

HEX#d2fa54
RGBrgb(210, 250, 84)
HSLhsl(75, 94%, 66%)
CMYKcmyk(16%, 0%, 66%, 2%)
LABlab(92.9 -34.9 72.1)
LCHlch(92.9 80.1 115.8)
OKLCHoklch(0.927 0.192 121.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2fa54 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#d2fa54 on black: 17.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green98.0%
Blue32.9%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow66.4%
Key (black)2.0%

Color previews

#d2fa54 text on a black background

contrast 17.54:1

Card sample

#d2fa54 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 250, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 250, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2fa54;
background: linear-gradient(135deg, #d2fa54, #63FA54);

Monochromatic scale

Palettes built from #d2fa54

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fa54 in the Color Lab