Skip to content

#cdfc2e

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

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

Every format

HEX#cdfc2e
RGBrgb(205, 252, 46)
HSLhsl(74, 97%, 58%)
CMYKcmyk(19%, 0%, 82%, 1%)
LABlab(92.9 -39.4 83.7)
LCHlch(92.9 92.5 115.2)
OKLCHoklch(0.926 0.216 122.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green98.8%
Blue18.0%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow81.7%
Key (black)1.2%

Color previews

#cdfc2e text on a black background

contrast 17.56:1

Card sample

#cdfc2e text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfc2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfc2e in the Color Lab