Skip to content

#ccf9ac

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

RGB
204, 249, 172
HSL
95°, 87%, 83%
CMYK
18, 0, 31, 2
Luminance
0.8357

Every format

HEX#ccf9ac
RGBrgb(204, 249, 172)
HSLhsl(95, 87%, 83%)
CMYKcmyk(18%, 0%, 31%, 2%)
LABlab(93.3 -27.7 32.4)
LCHlch(93.3 42.6 130.5)
OKLCHoklch(0.932 0.111 132.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf9ac on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ccf9ac on black: 17.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green97.6%
Blue67.5%

CMYK percentages

Cyan18.1%
Magenta0.0%
Yellow30.9%
Key (black)2.4%

Color previews

#ccf9ac text on a black background

contrast 17.71:1

Card sample

#ccf9ac text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf9ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf9ac in the Color Lab