Skip to content

#ccf9b3

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

RGB
204, 249, 179
HSL
99°, 85%, 84%
CMYK
18, 0, 28, 2
Luminance
0.8384

Every format

HEX#ccf9b3
RGBrgb(204, 249, 179)
HSLhsl(99, 85%, 84%)
CMYKcmyk(18%, 0%, 28%, 2%)
LABlab(93.4 -26.7 29.0)
LCHlch(93.4 39.4 132.6)
OKLCHoklch(0.933 0.103 134.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green97.6%
Blue70.2%

CMYK percentages

Cyan18.1%
Magenta0.0%
Yellow28.1%
Key (black)2.4%

Color previews

#ccf9b3 text on a black background

contrast 17.77:1

Card sample

#ccf9b3 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf9b3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf9b3 in the Color Lab