Skip to content

#ccff9b

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

RGB
204, 255, 155
HSL
91°, 100%, 80%
CMYK
20, 0, 39, 0
Luminance
0.8672

Every format

HEX#ccff9b
RGBrgb(204, 255, 155)
HSLhsl(91, 100%, 80%)
CMYKcmyk(20%, 0%, 39%, 0%)
LABlab(94.6 -32.8 42.6)
LCHlch(94.6 53.7 127.6)
OKLCHoklch(0.942 0.138 130.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ccff9b text on a black background

contrast 18.34:1

Card sample

#ccff9b text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccff9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccff9b in the Color Lab