Skip to content

#cdff2f

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

RGB
205, 255, 47
HSL
74°, 100%, 59%
CMYK
20, 0, 82, 0
Luminance
0.8470

Every format

HEX#cdff2f
RGBrgb(205, 255, 47)
HSLhsl(74, 100%, 59%)
CMYKcmyk(20%, 0%, 82%, 0%)
LABlab(93.8 -40.7 84.1)
LCHlch(93.8 93.5 115.8)
OKLCHoklch(0.932 0.219 123.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green100.0%
Blue18.4%

CMYK percentages

Cyan19.6%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#cdff2f text on a black background

contrast 17.94:1

Card sample

#cdff2f text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 255, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 255, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdff2f;
background: linear-gradient(135deg, #cdff2f, #42FF2F);

Monochromatic scale

Palettes built from #cdff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdff2f in the Color Lab