Skip to content

#c0fd8c

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

RGB
192, 253, 140
HSL
92°, 97%, 77%
CMYK
24, 0, 45, 1
Luminance
0.8335

Every format

HEX#c0fd8c
RGBrgb(192, 253, 140)
HSLhsl(92, 97%, 77%)
CMYKcmyk(24%, 0%, 45%, 1%)
LABlab(93.2 -37.9 47.8)
LCHlch(93.2 61.0 128.4)
OKLCHoklch(0.928 0.156 132.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0fd8c on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#c0fd8c on black: 17.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green99.2%
Blue54.9%

CMYK percentages

Cyan24.1%
Magenta0.0%
Yellow44.7%
Key (black)0.8%

Color previews

#c0fd8c text on a black background

contrast 17.67:1

Card sample

#c0fd8c text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 253, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 253, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0fd8c;
background: linear-gradient(135deg, #c0fd8c, #8CFDA4);

Monochromatic scale

Palettes built from #c0fd8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0fd8c in the Color Lab