Skip to content

#c2f39d

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

RGB
194, 243, 157
HSL
94°, 78%, 78%
CMYK
20, 0, 35, 5
Luminance
0.7800

Every format

HEX#c2f39d
RGBrgb(194, 243, 157)
HSLhsl(94, 78%, 78%)
CMYKcmyk(20%, 0%, 35%, 5%)
LABlab(90.8 -30.4 36.5)
LCHlch(90.8 47.5 129.8)
OKLCHoklch(0.910 0.123 132.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2f39d on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#c2f39d on black: 16.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green95.3%
Blue61.6%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow35.4%
Key (black)4.7%

Color previews

#c2f39d text on a black background

contrast 16.60:1

Card sample

#c2f39d text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2f39d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f39d in the Color Lab