Skip to content

#cdf9ae

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

RGB
205, 249, 174
HSL
95°, 86%, 83%
CMYK
18, 0, 30, 2
Luminance
0.8379

Every format

HEX#cdf9ae
RGBrgb(205, 249, 174)
HSLhsl(95, 86%, 83%)
CMYKcmyk(18%, 0%, 30%, 2%)
LABlab(93.4 -27.1 31.5)
LCHlch(93.4 41.5 130.6)
OKLCHoklch(0.933 0.108 132.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green97.6%
Blue68.2%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow30.1%
Key (black)2.4%

Color previews

#cdf9ae text on a black background

contrast 17.76:1

Card sample

#cdf9ae text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf9ae

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf9ae in the Color Lab