Skip to content

#ccdf86

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

RGB
204, 223, 134
HSL
73°, 58%, 70%
CMYK
9, 0, 40, 13
Luminance
0.6733

Every format

HEX#ccdf86
RGBrgb(204, 223, 134)
HSLhsl(73, 58%, 70%)
CMYKcmyk(9%, 0%, 40%, 13%)
LABlab(85.7 -20.1 41.5)
LCHlch(85.7 46.1 115.9)
OKLCHoklch(0.869 0.115 118.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf86 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf86 on black: 14.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue52.5%

CMYK percentages

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

Color previews

#ccdf86 text on a black background

contrast 14.47:1

Card sample

#ccdf86 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf86

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf86 in the Color Lab