Skip to content

#003d1f

a deep, electric green · cool · closest name: darkslategray

RGB
0, 61, 31
HSL
151°, 100%, 12%
CMYK
100, 0, 49, 76
Luminance
0.0344

Every format

HEX#003d1f
RGBrgb(0, 61, 31)
HSLhsl(151, 100%, 12%)
CMYKcmyk(100%, 0%, 49%, 76%)
LABlab(21.7 -26.5 13.5)
LCHlch(21.7 29.7 152.9)
OKLCHoklch(0.316 0.079 154.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#003d1f on white: 12.45:1
AA ✓ pass · AA-large · AAA
Aa
#003d1f on black: 1.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green23.9%
Blue12.2%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow49.2%
Key (black)76.1%

Color previews

#003d1f text on a black background

contrast 1.69:1

Card sample

#003d1f text on a white background

contrast 12.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 61, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 61, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003d1f;
background: linear-gradient(135deg, #003d1f, #00323D);

Monochromatic scale

Palettes built from #003d1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #003d1f in the Color Lab