Skip to content

#cdfd9c

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

RGB
205, 253, 156
HSL
90°, 96%, 80%
CMYK
19, 0, 38, 1
Luminance
0.8563

Every format

HEX#cdfd9c
RGBrgb(205, 253, 156)
HSLhsl(90, 96%, 80%)
CMYKcmyk(19%, 0%, 38%, 1%)
LABlab(94.2 -31.4 41.5)
LCHlch(94.2 52.0 127.1)
OKLCHoklch(0.939 0.134 130.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfd9c on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#cdfd9c on black: 18.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green99.2%
Blue61.2%

CMYK percentages

Cyan19.0%
Magenta0.0%
Yellow38.3%
Key (black)0.8%

Color previews

#cdfd9c text on a black background

contrast 18.13:1

Card sample

#cdfd9c text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 253, 156, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 253, 156, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdfd9c;
background: linear-gradient(135deg, #cdfd9c, #9CFDAC);

Monochromatic scale

Palettes built from #cdfd9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfd9c in the Color Lab