Skip to content

#cdfc0f

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

RGB
205, 252, 15
HSL
72°, 98%, 52%
CMYK
19, 0, 94, 1
Luminance
0.8263

Every format

HEX#cdfc0f
RGBrgb(205, 252, 15)
HSLhsl(72, 98%, 52%)
CMYKcmyk(19%, 0%, 94%, 1%)
LABlab(92.8 -40.1 88.6)
LCHlch(92.8 97.3 114.4)
OKLCHoklch(0.925 0.223 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green98.8%
Blue5.9%

CMYK percentages

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

Color previews

#cdfc0f text on a black background

contrast 17.53:1

Card sample

#cdfc0f text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfc0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfc0f in the Color Lab