Skip to content

#ccecab

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

RGB
204, 236, 171
HSL
90°, 63%, 80%
CMYK
14, 0, 28, 8
Luminance
0.7577

Every format

HEX#ccecab
RGBrgb(204, 236, 171)
HSLhsl(90, 63%, 80%)
CMYKcmyk(14%, 0%, 28%, 8%)
LABlab(89.8 -21.6 28.2)
LCHlch(89.8 35.5 127.5)
OKLCHoklch(0.904 0.092 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccecab on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#ccecab on black: 16.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green92.5%
Blue67.1%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow27.5%
Key (black)7.5%

Color previews

#ccecab text on a black background

contrast 16.15:1

Card sample

#ccecab text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 236, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 236, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccecab;
background: linear-gradient(135deg, #ccecab, #ABECB5);

Monochromatic scale

Palettes built from #ccecab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccecab in the Color Lab