Skip to content

#003a21

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

RGB
0, 58, 33
HSL
154°, 100%, 11%
CMYK
100, 0, 43, 77
Luminance
0.0314

Every format

HEX#003a21
RGBrgb(0, 58, 33)
HSLhsl(154, 100%, 11%)
CMYKcmyk(100%, 0%, 43%, 77%)
LABlab(20.6 -24.7 10.7)
LCHlch(20.6 26.9 156.5)
OKLCHoklch(0.307 0.072 158.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#003a21 on white: 12.91:1
AA ✓ pass · AA-large · AAA
Aa
#003a21 on black: 1.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green22.7%
Blue12.9%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow43.1%
Key (black)77.3%

Color previews

#003a21 text on a black background

contrast 1.63:1

Card sample

#003a21 text on a white background

contrast 12.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 58, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 58, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003a21;
background: linear-gradient(135deg, #003a21, #002C3A);

Monochromatic scale

Palettes built from #003a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #003a21 in the Color Lab