Skip to content

#162a13

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

RGB
22, 42, 19
HSL
112°, 38%, 12%
CMYK
48, 0, 55, 84
Luminance
0.0187

Every format

HEX#162a13
RGBrgb(22, 42, 19)
HSLhsl(112, 38%, 12%)
CMYKcmyk(48%, 0%, 55%, 84%)
LABlab(14.8 -13.9 12.5)
LCHlch(14.8 18.7 138.1)
OKLCHoklch(0.261 0.049 141.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#162a13 on white: 15.28:1
AA ✓ pass · AA-large · AAA
Aa
#162a13 on black: 1.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green16.5%
Blue7.5%

CMYK percentages

Cyan47.6%
Magenta0.0%
Yellow54.8%
Key (black)83.5%

Color previews

#162a13 text on a black background

contrast 1.37:1

Card sample

#162a13 text on a white background

contrast 15.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(22, 42, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 42, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #162a13;
background: linear-gradient(135deg, #162a13, #132A1F);

Monochromatic scale

Palettes built from #162a13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #162a13 in the Color Lab