Skip to content

#ccffaa

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

RGB
204, 255, 170
HSL
96°, 100%, 83%
CMYK
20, 0, 33, 0
Luminance
0.8726

Every format

HEX#ccffaa
RGBrgb(204, 255, 170)
HSLhsl(96, 100%, 83%)
CMYKcmyk(20%, 0%, 33%, 0%)
LABlab(94.8 -30.8 35.5)
LCHlch(94.8 47.0 130.9)
OKLCHoklch(0.945 0.122 133.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccffaa on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ccffaa on black: 18.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green100.0%
Blue66.7%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow33.3%
Key (black)0.0%

Color previews

#ccffaa text on a black background

contrast 18.45:1

Card sample

#ccffaa text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccffaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccffaa in the Color Lab