Skip to content

#cdfc2d

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

RGB
205, 252, 45
HSL
74°, 97%, 58%
CMYK
19, 0, 82, 1
Luminance
0.8279

Every format

HEX#cdfc2d
RGBrgb(205, 252, 45)
HSLhsl(74, 97%, 58%)
CMYKcmyk(19%, 0%, 82%, 1%)
LABlab(92.9 -39.5 83.9)
LCHlch(92.9 92.7 115.2)
OKLCHoklch(0.926 0.216 122.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green98.8%
Blue17.6%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow82.1%
Key (black)1.2%

Color previews

#cdfc2d text on a black background

contrast 17.56:1

Card sample

#cdfc2d text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 252, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 252, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdfc2d;
background: linear-gradient(135deg, #cdfc2d, #43FC2D);

Monochromatic scale

Palettes built from #cdfc2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfc2d in the Color Lab