Skip to content

#ccdf8e

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

RGB
204, 223, 142
HSL
74°, 56%, 72%
CMYK
9, 0, 36, 13
Luminance
0.6757

Every format

HEX#ccdf8e
RGBrgb(204, 223, 142)
HSLhsl(74, 56%, 72%)
CMYKcmyk(9%, 0%, 36%, 13%)
LABlab(85.8 -19.1 37.6)
LCHlch(85.8 42.2 117.0)
OKLCHoklch(0.871 0.106 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue55.7%

CMYK percentages

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

Color previews

#ccdf8e text on a black background

contrast 14.51:1

Card sample

#ccdf8e text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf8e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf8e in the Color Lab