Skip to content

#ccdf7e

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

RGB
204, 223, 126
HSL
72°, 60%, 68%
CMYK
9, 0, 44, 13
Luminance
0.6712

Every format

HEX#ccdf7e
RGBrgb(204, 223, 126)
HSLhsl(72, 60%, 68%)
CMYKcmyk(9%, 0%, 44%, 13%)
LABlab(85.6 -21.0 45.3)
LCHlch(85.6 49.9 114.9)
OKLCHoklch(0.868 0.124 118.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf7e on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf7e on black: 14.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue49.4%

CMYK percentages

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

Color previews

#ccdf7e text on a black background

contrast 14.42:1

Card sample

#ccdf7e text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf7e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf7e in the Color Lab