Skip to content

#ccdf9c

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

RGB
204, 223, 156
HSL
77°, 51%, 74%
CMYK
9, 0, 30, 13
Luminance
0.6801

Every format

HEX#ccdf9c
RGBrgb(204, 223, 156)
HSLhsl(77, 51%, 74%)
CMYKcmyk(9%, 0%, 30%, 13%)
LABlab(86.0 -17.4 30.8)
LCHlch(86.0 35.4 119.4)
OKLCHoklch(0.873 0.090 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue61.2%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow30.0%
Key (black)12.5%

Color previews

#ccdf9c text on a black background

contrast 14.60:1

Card sample

#ccdf9c text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf9c in the Color Lab