Skip to content

#172921

a deep, soft green · cool · closest name: Dark Slate Gray

RGB
23, 41, 33
HSL
153°, 28%, 13%
CMYK
44, 0, 20, 84
Luminance
0.0188

At a glance

Every number on this page in one read: what #172921 is made of, how bright it looks, and which way it leans.

Hex
#172921
Hue
153°
green
Saturation
28%
soft
Lightness
13%
deep
Brightness
16%
HSV value
Perceived
14%
weighted brightness
Luminance
0.0188
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Soft
Best ink
White
15.27:1
Closest name
Dark Slate Gray
ΔE2000 13
Where it sits
Hue153° of 360°
Saturation28%
Lightness13%
Temperature
Warm ← → Cool71% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#172921
RGBrgb(23, 41, 33)
HSLhsl(153, 28%, 13%)
CMYKcmyk(44%, 0%, 20%, 84%)
LABlab(14.8 -9.7 2.9)
LCHlch(14.8 10.2 163.3)
OKLCHoklch(0.262 0.028 164.6)
Decimal1517857
Display P3color(display-p3 0.090 0.161 0.129)

Copy-ready code

/* CSS */
color: #172921;
background-color: #172921;
/* Tailwind (arbitrary) */
class="text-[#172921] bg-[#172921]"
/* SCSS */
$brand: #172921;
/* SwiftUI */
Color(red: 0.090, green: 0.161, blue: 0.129)
/* Android */
Color.parseColor("#172921")
/* Flutter */
Color(0xFF172921)
/* Python / OpenCV (BGR) */
(33, 41, 23)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #172921 · 15.27:1
Use #ffffffAAA at every size.
Aa
White text · 15.27:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.38:1
AA fail · AA large fail · AAA fail
Reading the other direction: #172921 as text scores 15.27:1 on white and 1.38:1 on black.

Accessibility — WCAG contrast

Aa
#172921 on white: 15.27:1
AA ✓ pass · AA-large · AAA
Aa
#172921 on black: 1.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #282721
deuteranopia · #252421
tritanopia · #132927

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #172921 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F9F8
#ECF3F0
#D6E6DF
#B7D7C9
#93C2AD
#6FAE92
#589D7E
#498369
#3B6954
#2D4D3F
#172921
Base = 950Lightest = 50 · #F6F9F8Darkest = 950 · #172921
:root {
  --brand-50: #F6F9F8;
  --brand-100: #ECF3F0;
  --brand-200: #D6E6DF;
  --brand-300: #B7D7C9;
  --brand-400: #93C2AD;
  --brand-500: #6FAE92;
  --brand-600: #589D7E;
  --brand-700: #498369;
  --brand-800: #3B6954;
  --brand-900: #2D4D3F;
  --brand-950: #172921;
  --brand: #172921;
  --brand-ink: #ffffff;
}

Colors that work with #172921

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F5F9F8
Tinted page background
Border#CBE2D7
Hairlines and dividers
Muted text#539376
Captions on the surface
Accent#2A1624
Second voice, not a rival
Dark variant#2E5242
Hover, pressed, headers
Light variant#EFF6F3
Selected rows, tints
Dark surface#14241D
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #172921

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#29171F
Analogous left#172918
Analogous right#172829
Split-complement 1#291728
Split-complement 2#291817
Triadic 1#211729
Triadic 2#292117
Tetradic#181729

RGB percentages

Red9.0%
Green16.1%
Blue12.9%

CMYK percentages

Cyan43.9%
Magenta0.0%
Yellow19.5%
Key (black)83.9%

Color previews

#172921 text on a black background

contrast 1.38:1

Card sample

#172921 text on a white background

contrast 15.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #172921

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#172921 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#172921, answered

What color is #172921?

#172921 is a deep soft green, closest to Dark Slate Gray (ΔE2000 13). It sits at 153° on the hue wheel with 28% saturation and 13% lightness, which reads as cool.

What is the RGB value of #172921?

rgb(23, 41, 33) — 23 red, 41 green and 33 blue out of 255, or 9% / 16.1% / 12.9% by channel.

Is #172921 a light or a dark color?

It is a dark color. Relative luminance is 0.0188 and perceived brightness is 14%, so white text on it reaches 15.27:1.

Should I use black or white text on #172921?

White. It scores 15.27:1 against #172921, versus 1.38:1 for black — AAA at any size.

What is the complementary color of #172921?

#29171F sits directly opposite on the wheel. Softer options are the split-complements #291728 and #291817, which give the same contrast with far less vibration.

What colors go well with #172921?

For interface work: #F5F9F8 as the surface, #CBE2D7 for borders, #539376 for secondary text, #2A1624 as an accent and #2E5242 for hover and pressed states. For a palette, the analogous pair #172918 and #172829 stays calm, while #29171F is the loudest partner.

What is #172921 in CMYK for printing?

cmyk(44%, 0%, 20%, 84%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #172921 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #17291A; nudged cooler, #162928.

Work with #172921 in the Color Lab