Skip to content

#c9fba8

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

RGB
201, 251, 168
HSL
96°, 91%, 82%
CMYK
20, 0, 33, 2
Luminance
0.8424

Every format

HEX#c9fba8
RGBrgb(201, 251, 168)
HSLhsl(96, 91%, 82%)
CMYKcmyk(20%, 0%, 33%, 2%)
LABlab(93.5 -30.2 34.8)
LCHlch(93.5 46.1 131.0)
OKLCHoklch(0.934 0.120 133.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.8%
Green98.4%
Blue65.9%

CMYK percentages

Cyan19.9%
Magenta0.0%
Yellow33.1%
Key (black)1.6%

Color previews

#c9fba8 text on a black background

contrast 17.85:1

Card sample

#c9fba8 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9fba8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9fba8 in the Color Lab