Skip to content

#ccdf9d

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

RGB
204, 223, 157
HSL
77°, 51%, 75%
CMYK
9, 0, 30, 13
Luminance
0.6805

Every format

HEX#ccdf9d
RGBrgb(204, 223, 157)
HSLhsl(77, 51%, 75%)
CMYKcmyk(9%, 0%, 30%, 13%)
LABlab(86.0 -17.2 30.3)
LCHlch(86.0 34.9 119.6)
OKLCHoklch(0.874 0.089 121.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf9d on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf9d on black: 14.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue61.6%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow29.6%
Key (black)12.5%

Color previews

#ccdf9d text on a black background

contrast 14.61:1

Card sample

#ccdf9d text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 223, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf9d;
background: linear-gradient(135deg, #ccdf9d, #A0DF9D);

Monochromatic scale

Palettes built from #ccdf9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf9d in the Color Lab