#173D0C#173D0C

#173D0C is a dark, moderate green. Relative luminance 0.035; OKLCH L 32.0% C 0.087 H 139.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#173D0C
RGBrgb(23, 61, 12)
HSLhsl(107, 67%, 14%)
HSVhsv(107, 80%, 24%)
CMYKcmyk(62.3%, 0%, 80.3%, 76.1%)
CIE-LABlab(22.11, -24.22, 24.93)
CIE-LCHlch(22.11, 34.76, 134.18°)
OKLaboklab(32.05% -0.0666 0.0568)
OKLCHoklch(32.05% 0.087 139.5)
XYZxyz(2.0884, 3.5460, 0.9222)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D0C #320C3D
analogous
#303D0C #173D0C #0C3D1A
triadic
#173D0C #0C173D #3D0C17
tetradic
#173D0C #0C303D #320C3D #3D1A0C
square
#173D0C #0C303D #320C3D #3D1A0C
split-complementary
#173D0C #1A0C3D #3D0C30
monochromatic
#0A1A05 #0A1A05 #173D0C #2A7016 #3EA320

Accessibility & contrast

On white

12.29
#173D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D0C
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D0C#FFFFFF#000000##FFFFFF
##173D0C1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3705
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#133B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d0c;
/* rgb */ color: rgb(23, 61, 12);
/* oklch */ color: oklch(32.0% 0.087 139.5);
Tailwind
colors: {
  custom: {
    50: '#59734e',
    500: '#173d0c',
    950: '#000000',
  },
}
SCSS
$custom: #173d0c;
$custom-light: #59734e;
$custom-dark: #000000;
JSON
{
  "hex": "#173d0c",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 106.531,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32048,
    "c": 0.08748,
    "h": 139.5
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#173D0C
secondary
#682C79
accent
#3EEAC3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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