Skip to content

#c2f39c

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

RGB
194, 243, 156
HSL
94°, 78%, 78%
CMYK
20, 0, 36, 5
Luminance
0.7797

Every format

HEX#c2f39c
RGBrgb(194, 243, 156)
HSLhsl(94, 78%, 78%)
CMYKcmyk(20%, 0%, 36%, 5%)
LABlab(90.8 -30.6 37.0)
LCHlch(90.8 48.0 129.6)
OKLCHoklch(0.910 0.124 132.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2f39c on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#c2f39c on black: 16.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green95.3%
Blue61.2%

CMYK percentages

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

Color previews

#c2f39c text on a black background

contrast 16.59:1

Card sample

#c2f39c text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2f39c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f39c in the Color Lab