Skip to content

#40c010

a dark, electric green · cool · closest name: green

RGB
64, 192, 16
HSL
104°, 85%, 41%
CMYK
67, 0, 92, 25
Luminance
0.3883

Every format

HEX#40c010
RGBrgb(64, 192, 16)
HSLhsl(104, 85%, 41%)
CMYKcmyk(67%, 0%, 92%, 25%)
LABlab(68.6 -62.2 66.3)
LCHlch(68.6 90.9 133.2)
OKLCHoklch(0.709 0.224 139.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c010 on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#40c010 on black: 8.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green75.3%
Blue6.3%

CMYK percentages

Cyan66.7%
Magenta0.0%
Yellow91.7%
Key (black)24.7%

Color previews

#40c010 text on a black background

contrast 8.77:1

Card sample

#40c010 text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 192, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 192, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c010;
background: linear-gradient(135deg, #40c010, #10C055);

Monochromatic scale

Palettes built from #40c010

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c010 in the Color Lab