Skip to content

#cdf0a9

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

RGB
205, 240, 169
HSL
90°, 70%, 80%
CMYK
15, 0, 30, 6
Luminance
0.7816

Every format

HEX#cdf0a9
RGBrgb(205, 240, 169)
HSLhsl(90, 70%, 80%)
CMYKcmyk(15%, 0%, 30%, 6%)
LABlab(90.8 -23.5 30.7)
LCHlch(90.8 38.6 127.4)
OKLCHoklch(0.913 0.100 129.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf0a9 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#cdf0a9 on black: 16.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.1%
Blue66.3%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow29.6%
Key (black)5.9%

Color previews

#cdf0a9 text on a black background

contrast 16.63:1

Card sample

#cdf0a9 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf0a9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf0a9 in the Color Lab