Skip to content

#40ab13

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

RGB
64, 171, 19
HSL
102°, 80%, 37%
CMYK
63, 0, 89, 33
Luminance
0.3026

Every format

HEX#40ab13
RGBrgb(64, 171, 19)
HSLhsl(102, 80%, 37%)
CMYKcmyk(63%, 0%, 89%, 33%)
LABlab(61.9 -55.1 60.0)
LCHlch(61.9 81.5 132.6)
OKLCHoklch(0.653 0.201 139.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40ab13 on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#40ab13 on black: 7.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green67.1%
Blue7.5%

CMYK percentages

Cyan62.6%
Magenta0.0%
Yellow88.9%
Key (black)32.9%

Color previews

#40ab13 text on a black background

contrast 7.05:1

Card sample

#40ab13 text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40ab13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40ab13 in the Color Lab