Skip to content

#ccdf72

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

RGB
204, 223, 114
HSL
71°, 63%, 66%
CMYK
9, 0, 49, 13
Luminance
0.6683

Every format

HEX#ccdf72
RGBrgb(204, 223, 114)
HSLhsl(71, 63%, 66%)
CMYKcmyk(9%, 0%, 49%, 13%)
LABlab(85.4 -22.2 50.9)
LCHlch(85.4 55.5 113.6)
OKLCHoklch(0.867 0.136 117.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue44.7%

CMYK percentages

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

Color previews

#ccdf72 text on a black background

contrast 14.37:1

Card sample

#ccdf72 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf72

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf72 in the Color Lab