Skip to content

#c2f261

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

RGB
194, 242, 97
HSL
80°, 85%, 67%
CMYK
20, 0, 60, 5
Luminance
0.7584

Every format

HEX#c2f261
RGBrgb(194, 242, 97)
HSLhsl(80, 85%, 67%)
CMYKcmyk(20%, 0%, 60%, 5%)
LABlab(89.8 -36.4 63.3)
LCHlch(89.8 73.0 119.9)
OKLCHoklch(0.899 0.179 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2f261 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#c2f261 on black: 16.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green94.9%
Blue38.0%

CMYK percentages

Cyan19.8%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#c2f261 text on a black background

contrast 16.17:1

Card sample

#c2f261 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 242, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 242, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2f261;
background: linear-gradient(135deg, #c2f261, #61F261);

Monochromatic scale

Palettes built from #c2f261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f261 in the Color Lab