Skip to content

#172721

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

RGB
23, 39, 33
HSL
158°, 26%, 12%
CMYK
41, 0, 15, 85
Luminance
0.0174

Every format

HEX#172721
RGBrgb(23, 39, 33)
HSLhsl(158, 26%, 12%)
CMYKcmyk(41%, 0%, 15%, 85%)
LABlab(14.1 -8.4 1.8)
LCHlch(14.1 8.7 167.8)
OKLCHoklch(0.256 0.025 168.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#172721 on white: 15.57:1
AA ✓ pass · AA-large · AAA
Aa
#172721 on black: 1.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green15.3%
Blue12.9%

CMYK percentages

Cyan41.0%
Magenta0.0%
Yellow15.4%
Key (black)84.7%

Color previews

#172721 text on a black background

contrast 1.35:1

Card sample

#172721 text on a white background

contrast 15.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 39, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 39, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #172721;
background: linear-gradient(135deg, #172721, #172227);

Monochromatic scale

Palettes built from #172721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #172721 in the Color Lab