Skip to content

#ccf9b0

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

RGB
204, 249, 176
HSL
97°, 86%, 83%
CMYK
18, 0, 29, 2
Luminance
0.8372

Every format

HEX#ccf9b0
RGBrgb(204, 249, 176)
HSLhsl(97, 86%, 83%)
CMYKcmyk(18%, 0%, 29%, 2%)
LABlab(93.3 -27.1 30.5)
LCHlch(93.3 40.8 131.7)
OKLCHoklch(0.933 0.106 133.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf9b0 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#ccf9b0 on black: 17.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green97.6%
Blue69.0%

CMYK percentages

Cyan18.1%
Magenta0.0%
Yellow29.3%
Key (black)2.4%

Color previews

#ccf9b0 text on a black background

contrast 17.74:1

Card sample

#ccf9b0 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf9b0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf9b0 in the Color Lab