Skip to content

#162004

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

RGB
22, 32, 4
HSL
81°, 78%, 7%
CMYK
31, 0, 88, 88
Luminance
0.0121

Every format

HEX#162004
RGBrgb(22, 32, 4)
HSLhsl(81, 78%, 7%)
CMYKcmyk(31%, 0%, 88%, 88%)
LABlab(10.7 -10.3 14.0)
LCHlch(10.7 17.4 126.3)
OKLCHoklch(0.226 0.050 126.3)

Copy-ready code

/* CSS */
color: #162004;
background-color: #162004;
/* Tailwind (arbitrary) */
class="text-[#162004] bg-[#162004]"
/* SCSS */
$brand: #162004;
/* SwiftUI */
Color(red: 0.086, green: 0.125, blue: 0.016)
/* Android */
Color.parseColor("#162004")

Accessibility — WCAG contrast

Aa
#162004 on white: 16.90:1
AA ✓ pass · AA-large · AAA
Aa
#162004 on black: 1.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green12.5%
Blue1.6%

CMYK percentages

Cyan31.2%
Magenta0.0%
Yellow87.5%
Key (black)87.5%

Color previews

#162004 text on a black background

contrast 1.24:1

Card sample

#162004 text on a white background

contrast 16.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(22, 32, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 32, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #162004;
background: linear-gradient(135deg, #162004, #042005);

Monochromatic scale

Palettes built from #162004

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #162004 in the Color Lab