Skip to content

#ccffb2

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

RGB
204, 255, 178
HSL
100°, 100%, 85%
CMYK
20, 0, 30, 0
Luminance
0.8757

Every format

HEX#ccffb2
RGBrgb(204, 255, 178)
HSLhsl(100, 100%, 85%)
CMYKcmyk(20%, 0%, 30%, 0%)
LABlab(95.0 -29.6 31.7)
LCHlch(95.0 43.4 133.1)
OKLCHoklch(0.946 0.113 135.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccffb2 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ccffb2 on black: 18.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green100.0%
Blue69.8%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow30.2%
Key (black)0.0%

Color previews

#ccffb2 text on a black background

contrast 18.51:1

Card sample

#ccffb2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccffb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccffb2 in the Color Lab