Skip to content

#c8fbab

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

RGB
200, 251, 171
HSL
98°, 91%, 83%
CMYK
20, 0, 32, 2
Luminance
0.8421

Every format

HEX#c8fbab
RGBrgb(200, 251, 171)
HSLhsl(98, 91%, 83%)
CMYKcmyk(20%, 0%, 32%, 2%)
LABlab(93.5 -30.1 33.2)
LCHlch(93.5 44.9 132.2)
OKLCHoklch(0.934 0.117 134.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.4%
Green98.4%
Blue67.1%

CMYK percentages

Cyan20.3%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#c8fbab text on a black background

contrast 17.84:1

Card sample

#c8fbab text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8fbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8fbab in the Color Lab