Skip to content

#ccfba1

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

RGB
204, 251, 161
HSL
91°, 92%, 81%
CMYK
19, 0, 36, 2
Luminance
0.8440

Every format

HEX#ccfba1
RGBrgb(204, 251, 161)
HSLhsl(91, 92%, 81%)
CMYKcmyk(19%, 0%, 36%, 2%)
LABlab(93.6 -30.1 38.4)
LCHlch(93.6 48.8 128.2)
OKLCHoklch(0.934 0.126 130.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccfba1 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ccfba1 on black: 17.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green98.4%
Blue63.1%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow35.9%
Key (black)1.6%

Color previews

#ccfba1 text on a black background

contrast 17.88:1

Card sample

#ccfba1 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccfba1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfba1 in the Color Lab