Skip to content

#cdf980

a light, electric green · cool · closest name: khaki

RGB
205, 249, 128
HSL
82°, 91%, 74%
CMYK
18, 0, 49, 2
Luminance
0.8229

Every format

HEX#cdf980
RGBrgb(205, 249, 128)
HSLhsl(82, 91%, 74%)
CMYKcmyk(18%, 0%, 49%, 2%)
LABlab(92.7 -32.7 53.1)
LCHlch(92.7 62.4 121.6)
OKLCHoklch(0.926 0.156 125.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green97.6%
Blue50.2%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow48.6%
Key (black)2.4%

Color previews

#cdf980 text on a black background

contrast 17.46:1

Card sample

#cdf980 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 249, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 249, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf980;
background: linear-gradient(135deg, #cdf980, #80F984);

Monochromatic scale

Palettes built from #cdf980

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf980 in the Color Lab