Skip to content

#cdf49f

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

RGB
205, 244, 159
HSL
88°, 79%, 79%
CMYK
16, 0, 35, 4
Luminance
0.8018

Every format

HEX#cdf49f
RGBrgb(205, 244, 159)
HSLhsl(88, 79%, 79%)
CMYKcmyk(16%, 0%, 35%, 4%)
LABlab(91.8 -26.8 36.9)
LCHlch(91.8 45.6 125.9)
OKLCHoklch(0.920 0.117 128.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green95.7%
Blue62.4%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow34.8%
Key (black)4.3%

Color previews

#cdf49f text on a black background

contrast 17.04:1

Card sample

#cdf49f text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf49f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf49f in the Color Lab