Skip to content

#dcfd02

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

RGB
220, 253, 2
HSL
68°, 98%, 50%
CMYK
13, 0, 99, 1
Luminance
0.8547

Every format

HEX#dcfd02
RGBrgb(220, 253, 2)
HSLhsl(68, 98%, 50%)
CMYKcmyk(13%, 0%, 99%, 1%)
LABlab(94.1 -34.8 91.0)
LCHlch(94.1 97.4 110.9)
OKLCHoklch(0.937 0.220 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcfd02 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#dcfd02 on black: 18.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green99.2%
Blue0.8%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow99.2%
Key (black)0.8%

Color previews

#dcfd02 text on a black background

contrast 18.09:1

Card sample

#dcfd02 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 253, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 253, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcfd02;
background: linear-gradient(135deg, #dcfd02, #35FD02);

Monochromatic scale

Palettes built from #dcfd02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcfd02 in the Color Lab