#173E0D#173E0D

#173E0D is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.088 H 139.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#173E0D
RGBrgb(23, 62, 13)
HSLhsl(108, 65%, 15%)
HSVhsv(108, 79%, 24%)
CMYKcmyk(62.9%, 0%, 79%, 75.7%)
CIE-LABlab(22.50, -24.58, 24.88)
CIE-LCHlch(22.50, 34.97, 134.66°)
OKLaboklab(32.37% -0.0675 0.0568)
OKLCHoklch(32.37% 0.088 139.9)
XYZxyz(2.1485, 3.6563, 0.9732)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E0D #340D3E
analogous
#303E0D #173E0D #0D3E1C
triadic
#173E0D #0D173E #3E0D17
tetradic
#173E0D #0D303E #340D3E #3E1C0D
square
#173E0D #0D303E #340D3E #3E1C0D
split-complementary
#173E0D #1C0D3E #3E0D30
monochromatic
#091905 #091905 #173E0D #2A7118 #3DA322

Accessibility & contrast

On white

12.13
#173E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#173E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E0D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E0D#FFFFFF#000000##FFFFFF
##173E0D1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403806
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#133C34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e0d;
/* rgb */ color: rgb(23, 62, 13);
/* oklch */ color: oklch(32.4% 0.088 139.9);
Tailwind
colors: {
  custom: {
    50: '#59744f',
    500: '#173e0d',
    950: '#000000',
  },
}
SCSS
$custom: #173e0d;
$custom-light: #59744f;
$custom-dark: #000000;
JSON
{
  "hex": "#173e0d",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 13
  },
  "hsl": {
    "h": 107.755,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32373,
    "c": 0.08817,
    "h": 139.9
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#173E0D
secondary
#6A2D7A
accent
#40E8C6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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