Skip to content

#ccdf6f

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

RGB
204, 223, 111
HSL
70°, 64%, 66%
CMYK
9, 0, 50, 13
Luminance
0.6676

Every format

HEX#ccdf6f
RGBrgb(204, 223, 111)
HSLhsl(70, 64%, 66%)
CMYKcmyk(9%, 0%, 50%, 13%)
LABlab(85.4 -22.5 52.2)
LCHlch(85.4 56.9 113.3)
OKLCHoklch(0.866 0.139 117.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue43.5%

CMYK percentages

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

Color previews

#ccdf6f text on a black background

contrast 14.35:1

Card sample

#ccdf6f text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf6f in the Color Lab