Skip to content

#ccdf74

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

RGB
204, 223, 116
HSL
71°, 63%, 67%
CMYK
9, 0, 48, 13
Luminance
0.6687

Every format

HEX#ccdf74
RGBrgb(204, 223, 116)
HSLhsl(71, 63%, 67%)
CMYKcmyk(9%, 0%, 48%, 13%)
LABlab(85.4 -22.0 49.9)
LCHlch(85.4 54.6 113.8)
OKLCHoklch(0.867 0.134 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue45.5%

CMYK percentages

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

Color previews

#ccdf74 text on a black background

contrast 14.37:1

Card sample

#ccdf74 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf74

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf74 in the Color Lab