Skip to content

#013f21

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

RGB
1, 63, 33
HSL
151°, 97%, 13%
CMYK
98, 0, 48, 75
Luminance
0.0367

Every format

HEX#013f21
RGBrgb(1, 63, 33)
HSLhsl(151, 97%, 13%)
CMYKcmyk(98%, 0%, 48%, 75%)
LABlab(22.6 -26.7 13.4)
LCHlch(22.6 29.8 153.4)
OKLCHoklch(0.323 0.079 155.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#013f21 on white: 12.11:1
AA ✓ pass · AA-large · AAA
Aa
#013f21 on black: 1.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.4%
Green24.7%
Blue12.9%

CMYK percentages

Cyan98.4%
Magenta0.0%
Yellow47.6%
Key (black)75.3%

Color previews

#013f21 text on a black background

contrast 1.73:1

Card sample

#013f21 text on a white background

contrast 12.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(1, 63, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 63, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #013f21;
background: linear-gradient(135deg, #013f21, #01333F);

Monochromatic scale

Palettes built from #013f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #013f21 in the Color Lab