Skip to content

#c2ff7f

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

RGB
194, 255, 127
HSL
89°, 100%, 75%
CMYK
24, 0, 50, 0
Luminance
0.8452

Every format

HEX#c2ff7f
RGBrgb(194, 255, 127)
HSLhsl(89, 100%, 75%)
CMYKcmyk(24%, 0%, 50%, 0%)
LABlab(93.7 -39.5 54.6)
LCHlch(93.7 67.4 125.9)
OKLCHoklch(0.932 0.170 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ff7f on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#c2ff7f on black: 17.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green100.0%
Blue49.8%

CMYK percentages

Cyan23.9%
Magenta0.0%
Yellow50.2%
Key (black)0.0%

Color previews

#c2ff7f text on a black background

contrast 17.90:1

Card sample

#c2ff7f text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ff7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ff7f in the Color Lab