Skip to content

#c2f28f

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

RGB
194, 242, 143
HSL
89°, 79%, 76%
CMYK
20, 0, 41, 5
Luminance
0.7696

Every format

HEX#c2f28f
RGBrgb(194, 242, 143)
HSLhsl(89, 79%, 76%)
CMYKcmyk(20%, 0%, 41%, 5%)
LABlab(90.3 -31.8 42.8)
LCHlch(90.3 53.3 126.6)
OKLCHoklch(0.905 0.136 129.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2f28f on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#c2f28f on black: 16.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green94.9%
Blue56.1%

CMYK percentages

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

Color previews

#c2f28f text on a black background

contrast 16.39:1

Card sample

#c2f28f text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2f28f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f28f in the Color Lab