Skip to content

#002f22

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

RGB
0, 47, 34
HSL
163°, 100%, 9%
CMYK
100, 0, 28, 82
Luminance
0.0215

Every format

HEX#002f22
RGBrgb(0, 47, 34)
HSLhsl(163, 100%, 9%)
CMYKcmyk(100%, 0%, 28%, 82%)
LABlab(16.3 -19.3 4.1)
LCHlch(16.3 19.7 168.0)
OKLCHoklch(0.271 0.054 168.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#002f22 on white: 14.69:1
AA ✓ pass · AA-large · AAA
Aa
#002f22 on black: 1.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green18.4%
Blue13.3%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow27.7%
Key (black)81.6%

Color previews

#002f22 text on a black background

contrast 1.43:1

Card sample

#002f22 text on a white background

contrast 14.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #002f22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #002f22 in the Color Lab