Skip to content

#ccf1a7

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

RGB
204, 241, 167
HSL
90°, 73%, 80%
CMYK
15, 0, 31, 6
Luminance
0.7854

Every format

HEX#ccf1a7
RGBrgb(204, 241, 167)
HSLhsl(90, 73%, 80%)
CMYKcmyk(15%, 0%, 31%, 6%)
LABlab(91.0 -24.6 31.9)
LCHlch(91.0 40.3 127.6)
OKLCHoklch(0.914 0.104 129.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf1a7 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ccf1a7 on black: 16.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green94.5%
Blue65.5%

CMYK percentages

Cyan15.4%
Magenta0.0%
Yellow30.7%
Key (black)5.5%

Color previews

#ccf1a7 text on a black background

contrast 16.71:1

Card sample

#ccf1a7 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf1a7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf1a7 in the Color Lab