Skip to content

#c9ffac

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

RGB
201, 255, 172
HSL
99°, 100%, 84%
CMYK
21, 0, 33, 0
Luminance
0.8692

Every format

HEX#c9ffac
RGBrgb(201, 255, 172)
HSLhsl(99, 100%, 84%)
CMYKcmyk(21%, 0%, 33%, 0%)
LABlab(94.7 -31.5 34.3)
LCHlch(94.7 46.6 132.6)
OKLCHoklch(0.943 0.121 135.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9ffac on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#c9ffac on black: 18.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green100.0%
Blue67.5%

CMYK percentages

Cyan21.2%
Magenta0.0%
Yellow32.5%
Key (black)0.0%

Color previews

#c9ffac text on a black background

contrast 18.38:1

Card sample

#c9ffac text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 255, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 255, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9ffac;
background: linear-gradient(135deg, #c9ffac, #ACFFC6);

Monochromatic scale

Palettes built from #c9ffac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9ffac in the Color Lab