Skip to content

#cdf80d

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

RGB
205, 248, 13
HSL
71°, 94%, 51%
CMYK
17, 0, 95, 3
Luminance
0.8014

Every format

HEX#cdf80d
RGBrgb(205, 248, 13)
HSLhsl(71, 94%, 51%)
CMYKcmyk(17%, 0%, 95%, 3%)
LABlab(91.8 -38.4 87.9)
LCHlch(91.8 95.9 113.6)
OKLCHoklch(0.916 0.220 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf80d on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cdf80d on black: 17.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green97.3%
Blue5.1%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow94.8%
Key (black)2.7%

Color previews

#cdf80d text on a black background

contrast 17.03:1

Card sample

#cdf80d text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 248, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 248, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf80d;
background: linear-gradient(135deg, #cdf80d, #30F80D);

Monochromatic scale

Palettes built from #cdf80d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf80d in the Color Lab