Skip to content

#ccdf8d

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

RGB
204, 223, 141
HSL
74°, 56%, 71%
CMYK
9, 0, 37, 13
Luminance
0.6754

Every format

HEX#ccdf8d
RGBrgb(204, 223, 141)
HSLhsl(74, 56%, 71%)
CMYKcmyk(9%, 0%, 37%, 13%)
LABlab(85.8 -19.3 38.1)
LCHlch(85.8 42.7 116.8)
OKLCHoklch(0.871 0.107 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf8d on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf8d on black: 14.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue55.3%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow36.8%
Key (black)12.5%

Color previews

#ccdf8d text on a black background

contrast 14.51:1

Card sample

#ccdf8d text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf8d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf8d in the Color Lab