#173221#173221

#173221 is a dark, muted green. Relative luminance 0.026; OKLCH L 29.0% C 0.046 H 154.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#173221
RGBrgb(23, 50, 33)
HSLhsl(142, 37%, 14%)
HSVhsv(142, 54%, 20%)
CMYKcmyk(54%, 0%, 34%, 80.4%)
CIE-LABlab(18.25, -15.12, 7.70)
CIE-LCHlch(18.25, 16.97, 153.01°)
OKLaboklab(28.99% -0.0414 0.0196)
OKLCHoklch(28.99% 0.046 154.7)
XYZxyz(1.7683, 2.5730, 1.8420)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173221 #321728
analogous
#1B3217 #173221 #17322F
triadic
#173221 #211732 #322117
tetradic
#173221 #171B32 #321728 #322F17
square
#173221 #171B32 #321728 #322F17
split-complementary
#173221 #2F1732 #32171B
monochromatic
#0A150E #0A150E #173221 #2A5C3D #3E8658

Accessibility & contrast

On white

13.87
#173221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#173221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173221
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173221#FFFFFF#000000##FFFFFF
##1732211.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E20
Deuteranopia (green-blind)
#2E2B22
Tritanopia (blue-blind)
#11312D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #173221;
/* rgb */ color: rgb(23, 50, 33);
/* oklch */ color: oklch(29.0% 0.046 154.7);
Tailwind
colors: {
  custom: {
    50: '#566a5c',
    500: '#173221',
    950: '#000000',
  },
}
SCSS
$custom: #173221;
$custom-light: #566a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#173221",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 33
  },
  "hsl": {
    "h": 142.222,
    "s": 36.986,
    "l": 14.314
  },
  "oklch": {
    "l": 0.28991,
    "c": 0.04578,
    "h": 154.7
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#173221
secondary
#683D58
accent
#5BA3CD
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030604
muted
#787A79

Preview Lab

Preview with #173221

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#173221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva