Skip to content

#c8ff40

a balanced, electric green · cool · closest name: yellow

RGB
200, 255, 64
HSL
77°, 100%, 63%
CMYK
22, 0, 75, 0
Luminance
0.8417

Every format

HEX#c8ff40
RGBrgb(200, 255, 64)
HSLhsl(77, 100%, 63%)
CMYKcmyk(22%, 0%, 75%, 0%)
LABlab(93.5 -42.0 79.3)
LCHlch(93.5 89.7 117.9)
OKLCHoklch(0.930 0.213 124.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8ff40 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#c8ff40 on black: 17.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green100.0%
Blue25.1%

CMYK percentages

Cyan21.6%
Magenta0.0%
Yellow74.9%
Key (black)0.0%

Color previews

#c8ff40 text on a black background

contrast 17.83:1

Card sample

#c8ff40 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(200, 255, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 255, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c8ff40;
background: linear-gradient(135deg, #c8ff40, #48FF40);

Monochromatic scale

Palettes built from #c8ff40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8ff40 in the Color Lab