#173F24#173F24

#173F24 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.066 H 151.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#173F24
RGBrgb(23, 63, 36)
HSLhsl(140, 47%, 17%)
HSVhsv(140, 63%, 25%)
CMYKcmyk(63.5%, 0%, 42.9%, 75.3%)
CIE-LABlab(23.22, -21.36, 12.45)
CIE-LCHlch(23.22, 24.72, 149.77°)
OKLaboklab(33.07% -0.0579 0.0311)
OKLCHoklch(33.07% 0.066 151.8)
XYZxyz(2.4491, 3.8643, 2.2856)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F24 #3F1732
analogous
#1E3F17 #173F24 #173F38
triadic
#173F24 #24173F #3F2417
tetradic
#173F24 #171E3F #3F1732 #3F3817
square
#173F24 #171E3F #3F1732 #3F3817
split-complementary
#173F24 #38173F #3F171E
monochromatic
#08160D #08160D #173F24 #276C3E #389957

Accessibility & contrast

On white

11.84
#173F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F24
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F24#FFFFFF#000000##FFFFFF
##173F241.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A22
Deuteranopia (green-blind)
#3A3626
Tritanopia (blue-blind)
#0C3E38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f24;
/* rgb */ color: rgb(23, 63, 36);
/* oklch */ color: oklch(33.1% 0.066 151.8);
Tailwind
colors: {
  custom: {
    50: '#58745f',
    500: '#173f24',
    950: '#000000',
  },
}
SCSS
$custom: #173f24;
$custom-light: #58745f;
$custom-dark: #000000;
JSON
{
  "hex": "#173f24",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 36
  },
  "hsl": {
    "h": 139.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.06573,
    "h": 151.8
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#173F24
secondary
#763C63
accent
#52ABD6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173F24

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

Preview Lab → · Contrast checker → · Palette generator →

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