Skip to content

#ccff99

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

RGB
204, 255, 153
HSL
90°, 100%, 80%
CMYK
20, 0, 40, 0
Luminance
0.8666

Every format

HEX#ccff99
RGBrgb(204, 255, 153)
HSLhsl(90, 100%, 80%)
CMYKcmyk(20%, 0%, 40%, 0%)
LABlab(94.6 -33.0 43.5)
LCHlch(94.6 54.6 127.2)
OKLCHoklch(0.942 0.140 130.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccff99 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#ccff99 on black: 18.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green100.0%
Blue60.0%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow40.0%
Key (black)0.0%

Color previews

#ccff99 text on a black background

contrast 18.33:1

Card sample

#ccff99 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccff99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff99 in the Color Lab