Skip to content

#002c1f

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

RGB
0, 44, 31
HSL
162°, 100%, 9%
CMYK
100, 0, 30, 83
Luminance
0.0190

Every format

HEX#002c1f
RGBrgb(0, 44, 31)
HSLhsl(162, 100%, 9%)
CMYKcmyk(100%, 0%, 30%, 83%)
LABlab(14.9 -18.7 4.4)
LCHlch(14.9 19.2 166.9)
OKLCHoklch(0.260 0.053 167.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#002c1f on white: 15.22:1
AA ✓ pass · AA-large · AAA
Aa
#002c1f on black: 1.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green17.3%
Blue12.2%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow29.5%
Key (black)82.7%

Color previews

#002c1f text on a black background

contrast 1.38:1

Card sample

#002c1f text on a white background

contrast 15.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 44, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 44, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #002c1f;
background: linear-gradient(135deg, #002c1f, #001C2C);

Monochromatic scale

Palettes built from #002c1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #002c1f in the Color Lab