Skip to content

#c2fd97

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

RGB
194, 253, 151
HSL
95°, 96%, 79%
CMYK
23, 0, 40, 1
Luminance
0.8395

Every format

HEX#c2fd97
RGBrgb(194, 253, 151)
HSLhsl(95, 96%, 79%)
CMYKcmyk(23%, 0%, 40%, 1%)
LABlab(93.4 -35.8 42.9)
LCHlch(93.4 55.9 129.9)
OKLCHoklch(0.931 0.144 133.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green99.2%
Blue59.2%

CMYK percentages

Cyan23.3%
Magenta0.0%
Yellow40.3%
Key (black)0.8%

Color previews

#c2fd97 text on a black background

contrast 17.79:1

Card sample

#c2fd97 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 253, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 253, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2fd97;
background: linear-gradient(135deg, #c2fd97, #97FDB0);

Monochromatic scale

Palettes built from #c2fd97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2fd97 in the Color Lab