Skip to content

#ccf28f

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

RGB
204, 242, 143
HSL
83°, 79%, 76%
CMYK
16, 0, 41, 5
Luminance
0.7832

Every format

HEX#ccf28f
RGBrgb(204, 242, 143)
HSLhsl(83, 79%, 76%)
CMYKcmyk(16%, 0%, 41%, 5%)
LABlab(90.9 -28.2 43.7)
LCHlch(90.9 52.0 122.8)
OKLCHoklch(0.912 0.132 126.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf28f on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ccf28f on black: 16.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green94.9%
Blue56.1%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow40.9%
Key (black)5.1%

Color previews

#ccf28f text on a black background

contrast 16.66:1

Card sample

#ccf28f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf28f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf28f in the Color Lab