#173F17#173F17

#173F17 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.080 H 143.5°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#173F17
RGBrgb(23, 63, 23)
HSLhsl(120, 47%, 17%)
HSVhsv(120, 63%, 25%)
CMYKcmyk(63.5%, 0%, 63.5%, 75.3%)
CIE-LABlab(22.99, -23.77, 20.12)
CIE-LCHlch(22.99, 31.14, 139.75°)
OKLaboklab(32.82% -0.0646 0.0478)
OKLCHoklch(32.82% 0.08 143.5)
XYZxyz(2.2854, 3.7988, 1.4233)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F17 #3F173F
analogous
#2B3F17 #173F17 #173F2B
triadic
#173F17 #17173F #3F1717
tetradic
#173F17 #172B3F #3F173F #3F2B17
square
#173F17 #172B3F #3F173F #3F2B17
split-complementary
#173F17 #2B173F #3F172B
monochromatic
#081608 #081608 #173F17 #276C27 #389938

Accessibility & contrast

On white

11.93
#173F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F17
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F17#FFFFFF#000000##FFFFFF
##173F171.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403913
Deuteranopia (green-blind)
#3B351A
Tritanopia (blue-blind)
#113D36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f17;
/* rgb */ color: rgb(23, 63, 23);
/* oklch */ color: oklch(32.8% 0.080 143.5);
Tailwind
colors: {
  custom: {
    50: '#597455',
    500: '#173f17',
    950: '#000000',
  },
}
SCSS
$custom: #173f17;
$custom-light: #597455;
$custom-dark: #000000;
JSON
{
  "hex": "#173f17",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.32817,
    "c": 0.08038,
    "h": 143.5
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#173F17
secondary
#763C76
accent
#52D6D6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #173F17

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

Preview Lab → · Contrast checker → · Palette generator →

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