Skip to content

#ccfbaf

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

RGB
204, 251, 175
HSL
97°, 91%, 84%
CMYK
19, 0, 30, 2
Luminance
0.8493

Every format

HEX#ccfbaf
RGBrgb(204, 251, 175)
HSLhsl(97, 91%, 84%)
CMYKcmyk(19%, 0%, 30%, 2%)
LABlab(93.8 -28.2 31.7)
LCHlch(93.8 42.4 131.7)
OKLCHoklch(0.937 0.111 133.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green98.4%
Blue68.6%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#ccfbaf text on a black background

contrast 17.99:1

Card sample

#ccfbaf text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccfbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfbaf in the Color Lab