Skip to content

#dcfc2f

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

RGB
220, 252, 47
HSL
69°, 97%, 59%
CMYK
13, 0, 81, 1
Luminance
0.8504

Every format

HEX#dcfc2f
RGBrgb(220, 252, 47)
HSLhsl(69, 97%, 59%)
CMYKcmyk(13%, 0%, 81%, 1%)
LABlab(93.9 -33.6 84.6)
LCHlch(93.9 91.0 111.6)
OKLCHoklch(0.936 0.209 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcfc2f on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#dcfc2f on black: 18.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green98.8%
Blue18.4%

CMYK percentages

Cyan12.7%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#dcfc2f text on a black background

contrast 18.01:1

Card sample

#dcfc2f text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 252, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 252, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcfc2f;
background: linear-gradient(135deg, #dcfc2f, #53FC2F);

Monochromatic scale

Palettes built from #dcfc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcfc2f in the Color Lab