Skip to content

#c2f25f

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

RGB
194, 242, 95
HSL
80°, 85%, 66%
CMYK
20, 0, 61, 5
Luminance
0.7580

Every format

HEX#c2f25f
RGBrgb(194, 242, 95)
HSLhsl(80, 85%, 66%)
CMYKcmyk(20%, 0%, 61%, 5%)
LABlab(89.8 -36.6 64.1)
LCHlch(89.8 73.8 119.7)
OKLCHoklch(0.899 0.181 125.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green94.9%
Blue37.3%

CMYK percentages

Cyan19.8%
Magenta0.0%
Yellow60.7%
Key (black)5.1%

Color previews

#c2f25f text on a black background

contrast 16.16:1

Card sample

#c2f25f text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2f25f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f25f in the Color Lab