Skip to content

#ccf39b

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

RGB
204, 243, 155
HSL
87°, 79%, 78%
CMYK
16, 0, 36, 5
Luminance
0.7931

Every format

HEX#ccf39b
RGBrgb(204, 243, 155)
HSLhsl(87, 79%, 78%)
CMYKcmyk(16%, 0%, 36%, 5%)
LABlab(91.4 -27.2 38.4)
LCHlch(91.4 47.0 125.3)
OKLCHoklch(0.916 0.120 128.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf39b on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ccf39b on black: 16.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green95.3%
Blue60.8%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow36.2%
Key (black)4.7%

Color previews

#ccf39b text on a black background

contrast 16.86:1

Card sample

#ccf39b text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf39b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf39b in the Color Lab