Skip to content

#ccdf9f

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

RGB
204, 223, 159
HSL
78°, 50%, 75%
CMYK
9, 0, 29, 13
Luminance
0.6812

Every format

HEX#ccdf9f
RGBrgb(204, 223, 159)
HSLhsl(78, 50%, 75%)
CMYKcmyk(9%, 0%, 29%, 13%)
LABlab(86.1 -16.9 29.3)
LCHlch(86.1 33.9 120.0)
OKLCHoklch(0.874 0.086 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue62.4%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow28.7%
Key (black)12.5%

Color previews

#ccdf9f text on a black background

contrast 14.62:1

Card sample

#ccdf9f text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf9f in the Color Lab