Skip to content

#008c01

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

RGB
0, 140, 1
HSL
120°, 100%, 28%
CMYK
100, 0, 99, 45
Luminance
0.1876

Every format

HEX#008c01
RGBrgb(0, 140, 1)
HSLhsl(120, 100%, 28%)
CMYKcmyk(100%, 0%, 99%, 45%)
LABlab(50.4 -55.1 53.1)
LCHlch(50.4 76.5 136.1)
OKLCHoklch(0.555 0.189 142.5)

Copy-ready code

/* CSS */
color: #008c01;
background-color: #008c01;
/* Tailwind (arbitrary) */
class="text-[#008c01] bg-[#008c01]"
/* SCSS */
$brand: #008c01;
/* SwiftUI */
Color(red: 0.000, green: 0.549, blue: 0.004)
/* Android */
Color.parseColor("#008c01")

Accessibility — WCAG contrast

Aa
#008c01 on white: 4.42:1
AA ✗ fail · AA-large · AAA
Aa
#008c01 on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green54.9%
Blue0.4%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow99.3%
Key (black)45.1%

Color previews

#008c01 text on a black background

contrast 4.75:1

Card sample

#008c01 text on a white background

contrast 4.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 140, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 140, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008c01;
background: linear-gradient(135deg, #008c01, #008C5E);

Monochromatic scale

Palettes built from #008c01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #008c01 in the Color Lab