Skip to content

#c2fea2

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

RGB
194, 254, 162
HSL
99°, 98%, 82%
CMYK
24, 0, 36, 0
Luminance
0.8496

Every format

HEX#c2fea2
RGBrgb(194, 254, 162)
HSLhsl(99, 98%, 82%)
CMYKcmyk(24%, 0%, 36%, 0%)
LABlab(93.9 -34.8 38.1)
LCHlch(93.9 51.6 132.5)
OKLCHoklch(0.935 0.134 135.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green99.6%
Blue63.5%

CMYK percentages

Cyan23.6%
Magenta0.0%
Yellow36.2%
Key (black)0.4%

Color previews

#c2fea2 text on a black background

contrast 17.99:1

Card sample

#c2fea2 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 254, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 254, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2fea2;
background: linear-gradient(135deg, #c2fea2, #A2FEBF);

Monochromatic scale

Palettes built from #c2fea2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2fea2 in the Color Lab