#173A1F#173A1F

#173A1F is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.4% C 0.063 H 149.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#173A1F
RGBrgb(23, 58, 31)
HSLhsl(134, 43%, 16%)
HSVhsv(134, 60%, 23%)
CMYKcmyk(60.3%, 0%, 46.6%, 77.3%)
CIE-LABlab(21.23, -19.89, 13.03)
CIE-LCHlch(21.23, 23.78, 146.76°)
OKLaboklab(31.41% -0.0539 0.0323)
OKLCHoklch(31.41% 0.063 149.1)
XYZxyz(2.1136, 3.3070, 1.8230)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A1F #3A1732
analogous
#203A17 #173A1F #173A30
triadic
#173A1F #1F173A #3A1F17
tetradic
#173A1F #17203A #3A1732 #3A3017
square
#173A1F #17203A #3A1732 #3A3017
split-complementary
#173A1F #30173A #3A1720
monochromatic
#09160C #09160C #173A1F #286636 #3A924E

Accessibility & contrast

On white

12.64
#173A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#173A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A1F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A1F#FFFFFF#000000##FFFFFF
##173A1F1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351D
Deuteranopia (green-blind)
#363221
Tritanopia (blue-blind)
#103933
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173a1f;
/* rgb */ color: rgb(23, 58, 31);
/* oklch */ color: oklch(31.4% 0.063 149.1);
Tailwind
colors: {
  custom: {
    50: '#57705b',
    500: '#173a1f',
    950: '#000000',
  },
}
SCSS
$custom: #173a1f;
$custom-light: #57705b;
$custom-dark: #000000;
JSON
{
  "hex": "#173a1f",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 31
  },
  "hsl": {
    "h": 133.714,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31414,
    "c": 0.06287,
    "h": 149.1
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#173A1F
secondary
#713C65
accent
#55B6D3
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #173A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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