Skip to content

#ccf2ac

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

RGB
204, 242, 172
HSL
93°, 73%, 81%
CMYK
16, 0, 29, 5
Luminance
0.7932

Every format

HEX#ccf2ac
RGBrgb(204, 242, 172)
HSLhsl(93, 73%, 81%)
CMYKcmyk(16%, 0%, 29%, 5%)
LABlab(91.4 -24.4 29.9)
LCHlch(91.4 38.5 129.2)
OKLCHoklch(0.917 0.100 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green94.9%
Blue67.5%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow28.9%
Key (black)5.1%

Color previews

#ccf2ac text on a black background

contrast 16.86:1

Card sample

#ccf2ac text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf2ac in the Color Lab