Skip to content

#ccebaa

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

RGB
204, 235, 170
HSL
89°, 62%, 79%
CMYK
13, 0, 28, 8
Luminance
0.7516

Every format

HEX#ccebaa
RGBrgb(204, 235, 170)
HSLhsl(89, 62%, 79%)
CMYKcmyk(13%, 0%, 28%, 8%)
LABlab(89.5 -21.3 28.3)
LCHlch(89.5 35.4 127.0)
OKLCHoklch(0.902 0.092 128.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccebaa on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#ccebaa on black: 16.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green92.2%
Blue66.7%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow27.7%
Key (black)7.8%

Color previews

#ccebaa text on a black background

contrast 16.03:1

Card sample

#ccebaa text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccebaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccebaa in the Color Lab