Skip to content

#00841f

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

RGB
0, 132, 31
HSL
134°, 100%, 26%
CMYK
100, 0, 77, 48
Luminance
0.1660

Every format

HEX#00841f
RGBrgb(0, 132, 31)
HSLhsl(134, 100%, 26%)
CMYKcmyk(100%, 0%, 77%, 48%)
LABlab(47.8 -51.2 43.1)
LCHlch(47.8 67.0 139.9)
OKLCHoklch(0.533 0.169 144.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#00841f on white: 4.86:1
AA ✓ pass · AA-large · AAA
Aa
#00841f on black: 4.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green51.8%
Blue12.2%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow76.5%
Key (black)48.2%

Color previews

#00841f text on a black background

contrast 4.32:1

Card sample

#00841f text on a white background

contrast 4.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 132, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 132, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #00841f;
background: linear-gradient(135deg, #00841f, #008477);

Monochromatic scale

Palettes built from #00841f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #00841f in the Color Lab