Skip to content

#ccdf9b

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

RGB
204, 223, 155
HSL
77°, 52%, 74%
CMYK
9, 0, 31, 13
Luminance
0.6798

Every format

HEX#ccdf9b
RGBrgb(204, 223, 155)
HSLhsl(77, 52%, 74%)
CMYKcmyk(9%, 0%, 31%, 13%)
LABlab(86.0 -17.5 31.3)
LCHlch(86.0 35.9 119.2)
OKLCHoklch(0.873 0.091 121.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue60.8%

CMYK percentages

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

Color previews

#ccdf9b text on a black background

contrast 14.60:1

Card sample

#ccdf9b text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf9b in the Color Lab