Skip to content

#173321

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

RGB
23, 51, 33
HSL
141°, 38%, 15%
CMYK
55, 0, 35, 80
Luminance
0.0266

Every format

HEX#173321
RGBrgb(23, 51, 33)
HSLhsl(141, 38%, 15%)
CMYKcmyk(55%, 0%, 35%, 80%)
LABlab(18.6 -15.7 8.2)
LCHlch(18.6 17.7 152.3)
OKLCHoklch(0.293 0.048 154.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#173321 on white: 13.71:1
AA ✓ pass · AA-large · AAA
Aa
#173321 on black: 1.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green20.0%
Blue12.9%

CMYK percentages

Cyan54.9%
Magenta0.0%
Yellow35.3%
Key (black)80.0%

Color previews

#173321 text on a black background

contrast 1.53:1

Card sample

#173321 text on a white background

contrast 13.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #173321

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #173321 in the Color Lab