Skip to content

#ccf9ba

a pale, electric green · cool · closest name: beige

RGB
204, 249, 186
HSL
103°, 84%, 85%
CMYK
18, 0, 25, 2
Luminance
0.8413

Every format

HEX#ccf9ba
RGBrgb(204, 249, 186)
HSLhsl(103, 84%, 85%)
CMYKcmyk(18%, 0%, 25%, 2%)
LABlab(93.5 -25.6 25.6)
LCHlch(93.5 36.3 135.0)
OKLCHoklch(0.935 0.095 136.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf9ba on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#ccf9ba on black: 17.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green97.6%
Blue72.9%

CMYK percentages

Cyan18.1%
Magenta0.0%
Yellow25.3%
Key (black)2.4%

Color previews

#ccf9ba text on a black background

contrast 17.83:1

Card sample

#ccf9ba text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf9ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf9ba in the Color Lab