Skip to content

#40af13

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

RGB
64, 175, 19
HSL
103°, 80%, 38%
CMYK
63, 0, 89, 31
Luminance
0.3180

Every format

HEX#40af13
RGBrgb(64, 175, 19)
HSLhsl(103, 80%, 38%)
CMYKcmyk(63%, 0%, 89%, 31%)
LABlab(63.2 -56.5 61.1)
LCHlch(63.2 83.2 132.7)
OKLCHoklch(0.664 0.205 139.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40af13 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#40af13 on black: 7.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green68.6%
Blue7.5%

CMYK percentages

Cyan63.4%
Magenta0.0%
Yellow89.1%
Key (black)31.4%

Color previews

#40af13 text on a black background

contrast 7.36:1

Card sample

#40af13 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 175, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 175, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40af13;
background: linear-gradient(135deg, #40af13, #13AF4E);

Monochromatic scale

Palettes built from #40af13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40af13 in the Color Lab