Skip to content

#cdf49c

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

RGB
205, 244, 156
HSL
87°, 80%, 78%
CMYK
16, 0, 36, 4
Luminance
0.8008

Every format

HEX#cdf49c
RGBrgb(205, 244, 156)
HSLhsl(87, 80%, 78%)
CMYKcmyk(16%, 0%, 36%, 4%)
LABlab(91.7 -27.1 38.4)
LCHlch(91.7 47.0 125.3)
OKLCHoklch(0.919 0.120 128.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green95.7%
Blue61.2%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow36.1%
Key (black)4.3%

Color previews

#cdf49c text on a black background

contrast 17.02:1

Card sample

#cdf49c text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf49c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf49c in the Color Lab