Skip to content

#ccdf78

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

RGB
204, 223, 120
HSL
71°, 62%, 67%
CMYK
9, 0, 46, 13
Luminance
0.6697

Every format

HEX#ccdf78
RGBrgb(204, 223, 120)
HSLhsl(71, 62%, 67%)
CMYKcmyk(9%, 0%, 46%, 13%)
LABlab(85.5 -21.6 48.1)
LCHlch(85.5 52.7 114.2)
OKLCHoklch(0.867 0.130 117.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue47.1%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow46.2%
Key (black)12.5%

Color previews

#ccdf78 text on a black background

contrast 14.39:1

Card sample

#ccdf78 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf78 in the Color Lab