Skip to content

#ccf0ac

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

RGB
204, 240, 172
HSL
92°, 69%, 81%
CMYK
15, 0, 28, 6
Luminance
0.7814

Every format

HEX#ccf0ac
RGBrgb(204, 240, 172)
HSLhsl(92, 69%, 81%)
CMYKcmyk(15%, 0%, 28%, 6%)
LABlab(90.8 -23.4 29.1)
LCHlch(90.8 37.4 128.8)
OKLCHoklch(0.913 0.097 130.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green94.1%
Blue67.5%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow28.3%
Key (black)5.9%

Color previews

#ccf0ac text on a black background

contrast 16.63:1

Card sample

#ccf0ac text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf0ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf0ac in the Color Lab