Skip to content

#cdfc3b

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

RGB
205, 252, 59
HSL
75°, 97%, 61%
CMYK
19, 0, 77, 1
Luminance
0.8292

Every format

HEX#cdfc3b
RGBrgb(205, 252, 59)
HSLhsl(75, 97%, 61%)
CMYKcmyk(19%, 0%, 77%, 1%)
LABlab(93.0 -39.0 80.3)
LCHlch(93.0 89.3 115.9)
OKLCHoklch(0.926 0.210 123.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfc3b on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cdfc3b on black: 17.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green98.8%
Blue23.1%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow76.6%
Key (black)1.2%

Color previews

#cdfc3b text on a black background

contrast 17.58:1

Card sample

#cdfc3b text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfc3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfc3b in the Color Lab