Skip to content

#ccf2ab

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

RGB
204, 242, 171
HSL
92°, 73%, 81%
CMYK
16, 0, 29, 5
Luminance
0.7928

Every format

HEX#ccf2ab
RGBrgb(204, 242, 171)
HSLhsl(92, 73%, 81%)
CMYKcmyk(16%, 0%, 29%, 5%)
LABlab(91.4 -24.5 30.3)
LCHlch(91.4 39.0 128.9)
OKLCHoklch(0.917 0.101 131.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf2ab on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ccf2ab on black: 16.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green94.9%
Blue67.1%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow29.3%
Key (black)5.1%

Color previews

#ccf2ab text on a black background

contrast 16.86:1

Card sample

#ccf2ab text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf2ab in the Color Lab