Skip to content

#c2ff9c

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

RGB
194, 255, 156
HSL
97°, 100%, 81%
CMYK
24, 0, 39, 0
Luminance
0.8539

Every format

HEX#c2ff9c
RGBrgb(194, 255, 156)
HSLhsl(97, 100%, 81%)
CMYKcmyk(24%, 0%, 39%, 0%)
LABlab(94.0 -36.1 41.3)
LCHlch(94.0 54.8 131.2)
OKLCHoklch(0.936 0.142 134.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ff9c on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#c2ff9c on black: 18.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green100.0%
Blue61.2%

CMYK percentages

Cyan23.9%
Magenta0.0%
Yellow38.8%
Key (black)0.0%

Color previews

#c2ff9c text on a black background

contrast 18.08:1

Card sample

#c2ff9c text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 255, 156, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 255, 156, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ff9c;
background: linear-gradient(135deg, #c2ff9c, #9CFFB8);

Monochromatic scale

Palettes built from #c2ff9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ff9c in the Color Lab