Skip to content

#cdf9aa

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

RGB
205, 249, 170
HSL
93°, 87%, 82%
CMYK
18, 0, 32, 2
Luminance
0.8363

Every format

HEX#cdf9aa
RGBrgb(205, 249, 170)
HSLhsl(93, 87%, 82%)
CMYKcmyk(18%, 0%, 32%, 2%)
LABlab(93.3 -27.6 33.4)
LCHlch(93.3 43.4 129.6)
OKLCHoklch(0.932 0.112 131.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf9aa on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#cdf9aa on black: 17.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green97.6%
Blue66.7%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow31.7%
Key (black)2.4%

Color previews

#cdf9aa text on a black background

contrast 17.73:1

Card sample

#cdf9aa text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf9aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf9aa in the Color Lab