Skip to content

#008024

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

RGB
0, 128, 36
HSL
137°, 100%, 25%
CMYK
100, 0, 72, 50
Luminance
0.1557

Every format

HEX#008024
RGBrgb(0, 128, 36)
HSLhsl(137, 100%, 25%)
CMYKcmyk(100%, 0%, 72%, 50%)
LABlab(46.4 -49.5 39.7)
LCHlch(46.4 63.5 141.2)
OKLCHoklch(0.522 0.161 145.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#008024 on white: 5.11:1
AA ✓ pass · AA-large · AAA
Aa
#008024 on black: 4.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green50.2%
Blue14.1%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow71.9%
Key (black)49.8%

Color previews

#008024 text on a black background

contrast 4.11:1

Card sample

#008024 text on a white background

contrast 5.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 128, 36, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 128, 36, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008024;
background: linear-gradient(135deg, #008024, #008079);

Monochromatic scale

Palettes built from #008024

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #008024 in the Color Lab