Skip to content

#cdf1aa

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

RGB
205, 241, 170
HSL
90°, 72%, 81%
CMYK
15, 0, 30, 6
Luminance
0.7879

Every format

HEX#cdf1aa
RGBrgb(205, 241, 170)
HSLhsl(90, 72%, 81%)
CMYKcmyk(15%, 0%, 30%, 6%)
LABlab(91.1 -23.8 30.6)
LCHlch(91.1 38.8 127.9)
OKLCHoklch(0.915 0.100 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf1aa on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#cdf1aa on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.5%
Blue66.7%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow29.5%
Key (black)5.5%

Color previews

#cdf1aa text on a black background

contrast 16.76:1

Card sample

#cdf1aa text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf1aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf1aa in the Color Lab