#173B22#173B22

#173B22 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.8% C 0.061 H 151.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#173B22
RGBrgb(23, 59, 34)
HSLhsl(138, 44%, 16%)
HSVhsv(138, 61%, 23%)
CMYKcmyk(61%, 0%, 42.4%, 76.9%)
CIE-LABlab(21.67, -19.76, 11.68)
CIE-LCHlch(21.67, 22.95, 149.42°)
OKLaboklab(31.79% -0.0536 0.0292)
OKLCHoklch(31.79% 0.061 151.4)
XYZxyz(2.2059, 3.4254, 2.0580)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B22 #3B1730
analogous
#1E3B17 #173B22 #173B34
triadic
#173B22 #22173B #3B2217
tetradic
#173B22 #171E3B #3B1730 #3B3417
square
#173B22 #171E3B #3B1730 #3B3417
split-complementary
#173B22 #34173B #3B171E
monochromatic
#09160D #09160D #173B22 #28673B #399355

Accessibility & contrast

On white

12.46
#173B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#173B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B22
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B22#FFFFFF#000000##FFFFFF
##173B221.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3620
Deuteranopia (green-blind)
#363324
Tritanopia (blue-blind)
#0E3A35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173b22;
/* rgb */ color: rgb(23, 59, 34);
/* oklch */ color: oklch(31.8% 0.061 151.4);
Tailwind
colors: {
  custom: {
    50: '#57715d',
    500: '#173b22',
    950: '#000000',
  },
}
SCSS
$custom: #173b22;
$custom-light: #57715d;
$custom-dark: #000000;
JSON
{
  "hex": "#173b22",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 34
  },
  "hsl": {
    "h": 138.333,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31794,
    "c": 0.06108,
    "h": 151.4
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#173B22
secondary
#723C61
accent
#54ADD4
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #173B22

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

Preview Lab → · Contrast checker → · Palette generator →

#173B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva