#173F22#173F22

#173F22 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.068 H 150.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#173F22
RGBrgb(23, 63, 34)
HSLhsl(137, 47%, 17%)
HSVhsv(137, 63%, 25%)
CMYKcmyk(63.5%, 0%, 46%, 75.3%)
CIE-LABlab(23.18, -21.79, 13.67)
CIE-LCHlch(23.18, 25.72, 147.90°)
OKLaboklab(33.03% -0.059 0.0339)
OKLCHoklch(33.03% 0.068 150.1)
XYZxyz(2.4194, 3.8525, 2.1292)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F22 #3F1734
analogous
#203F17 #173F22 #173F36
triadic
#173F22 #22173F #3F2217
tetradic
#173F22 #17203F #3F1734 #3F3617
square
#173F22 #17203F #3F1734 #3F3617
split-complementary
#173F22 #36173F #3F1720
monochromatic
#08160C #08160C #173F22 #276C3A #389952

Accessibility & contrast

On white

11.86
#173F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#173F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F22
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F22#FFFFFF#000000##FFFFFF
##173F221.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A20
Deuteranopia (green-blind)
#3A3624
Tritanopia (blue-blind)
#0D3E38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f22;
/* rgb */ color: rgb(23, 63, 34);
/* oklch */ color: oklch(33.0% 0.068 150.1);
Tailwind
colors: {
  custom: {
    50: '#58745d',
    500: '#173f22',
    950: '#000000',
  },
}
SCSS
$custom: #173f22;
$custom-light: #58745d;
$custom-dark: #000000;
JSON
{
  "hex": "#173f22",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 34
  },
  "hsl": {
    "h": 136.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33026,
    "c": 0.06805,
    "h": 150.1
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#173F22
secondary
#763C66
accent
#52B2D6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173F22

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

Preview Lab → · Contrast checker → · Palette generator →

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