#173D0D#173D0D

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

Color values

HEX#173D0D
RGBrgb(23, 61, 13)
HSLhsl(108, 65%, 15%)
HSVhsv(108, 79%, 24%)
CMYKcmyk(62.3%, 0%, 78.7%, 76.1%)
CIE-LABlab(22.12, -24.12, 24.47)
CIE-LCHlch(22.12, 34.36, 134.59°)
OKLaboklab(32.06% -0.0662 0.0559)
OKLCHoklch(32.06% 0.087 139.8)
XYZxyz(2.0947, 3.5485, 0.9552)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D0D #330D3D
analogous
#2F3D0D #173D0D #0D3D1B
triadic
#173D0D #0D173D #3D0D17
tetradic
#173D0D #0D2F3D #330D3D #3D1B0D
square
#173D0D #0D2F3D #330D3D #3D1B0D
split-complementary
#173D0D #1B0D3D #3D0D2F
monochromatic
#0A1905 #0A1905 #173D0D #2A6F18 #3DA223

Accessibility & contrast

On white

12.28
#173D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D0D
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D0D#FFFFFF#000000##FFFFFF
##173D0D1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173d0d;
/* rgb */ color: rgb(23, 61, 13);
/* oklch */ color: oklch(32.1% 0.087 139.8);
Tailwind
colors: {
  custom: {
    50: '#59734e',
    500: '#173d0d',
    950: '#000000',
  },
}
SCSS
$custom: #173d0d;
$custom-light: #59734e;
$custom-dark: #000000;
JSON
{
  "hex": "#173d0d",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 13
  },
  "hsl": {
    "h": 107.5,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.08669,
    "h": 139.8
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#173D0D
secondary
#692D79
accent
#40E8C5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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