Skip to content

#d1fd2f

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

RGB
209, 253, 47
HSL
73°, 98%, 59%
CMYK
17, 0, 81, 1
Luminance
0.8401

Every format

HEX#d1fd2f
RGBrgb(209, 253, 47)
HSLhsl(73, 98%, 59%)
CMYKcmyk(17%, 0%, 81%, 1%)
LABlab(93.5 -38.3 84.0)
LCHlch(93.5 92.3 114.5)
OKLCHoklch(0.931 0.215 121.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.0%
Green99.2%
Blue18.4%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#d1fd2f text on a black background

contrast 17.80:1

Card sample

#d1fd2f text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(209, 253, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(209, 253, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d1fd2f;
background: linear-gradient(135deg, #d1fd2f, #48FD2F);

Monochromatic scale

Palettes built from #d1fd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1fd2f in the Color Lab