#173D0B#173D0B

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

Color values

HEX#173D0B
RGBrgb(23, 61, 11)
HSLhsl(106, 69%, 14%)
HSVhsv(106, 82%, 24%)
CMYKcmyk(62.3%, 0%, 82%, 76.1%)
CIE-LABlab(22.10, -24.32, 25.36)
CIE-LCHlch(22.10, 35.14, 133.80°)
OKLaboklab(32.04% -0.0669 0.0576)
OKLCHoklch(32.04% 0.088 139.3)
XYZxyz(2.0824, 3.5436, 0.8908)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D0B #310B3D
analogous
#303D0B #173D0B #0B3D18
triadic
#173D0B #0B173D #3D0B17
tetradic
#173D0B #0B303D #310B3D #3D180B
square
#173D0B #0B303D #310B3D #3D180B
split-complementary
#173D0B #180B3D #3D0B30
monochromatic
#0A1A05 #0A1A05 #173D0B #2B7114 #3EA51E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173D0B#FFFFFF#000000##FFFFFF
##173D0B1.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)
#3F3704
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#133B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d0b;
/* rgb */ color: rgb(23, 61, 11);
/* oklch */ color: oklch(32.0% 0.088 139.3);
Tailwind
colors: {
  custom: {
    50: '#59734d',
    500: '#173d0b',
    950: '#000000',
  },
}
SCSS
$custom: #173d0b;
$custom-light: #59734d;
$custom-dark: #000000;
JSON
{
  "hex": "#173d0b",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 105.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32038,
    "c": 0.08826,
    "h": 139.3
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#173D0B
secondary
#672A7A
accent
#3CECC2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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