Skip to content

#c0fc7f

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

RGB
192, 252, 127
HSL
89°, 95%, 74%
CMYK
24, 0, 50, 1
Luminance
0.8236

Every format

HEX#c0fc7f
RGBrgb(192, 252, 127)
HSLhsl(89, 95%, 74%)
CMYKcmyk(24%, 0%, 50%, 1%)
LABlab(92.7 -38.9 53.4)
LCHlch(92.7 66.0 126.0)
OKLCHoklch(0.924 0.167 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0fc7f on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#c0fc7f on black: 17.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green98.8%
Blue49.8%

CMYK percentages

Cyan23.8%
Magenta0.0%
Yellow49.6%
Key (black)1.2%

Color previews

#c0fc7f text on a black background

contrast 17.47:1

Card sample

#c0fc7f text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 252, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 252, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0fc7f;
background: linear-gradient(135deg, #c0fc7f, #7FFC91);

Monochromatic scale

Palettes built from #c0fc7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0fc7f in the Color Lab