#173C0D#173C0D

#173C0D is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.7% C 0.085 H 139.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#173C0D
RGBrgb(23, 60, 13)
HSLhsl(107, 64%, 14%)
HSVhsv(107, 78%, 24%)
CMYKcmyk(61.7%, 0%, 78.3%, 76.5%)
CIE-LABlab(21.74, -23.66, 24.07)
CIE-LCHlch(21.74, 33.75, 134.52°)
OKLaboklab(31.74% -0.065 0.0551)
OKLCHoklch(31.74% 0.085 139.7)
XYZxyz(2.0418, 3.4428, 0.9376)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C0D #320D3C
analogous
#2F3C0D #173C0D #0D3C1B
triadic
#173C0D #0D173C #3C0D17
tetradic
#173C0D #0D2F3C #320D3C #3C1B0D
square
#173C0D #0D2F3C #320D3C #3C1B0D
split-complementary
#173C0D #1B0D3C #3C0D2F
monochromatic
#0A1905 #0A1905 #173C0D #2A6E18 #3EA123

Accessibility & contrast

On white

12.44
#173C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#173C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C0D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C0D#FFFFFF#000000##FFFFFF
##173C0D1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3607
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#133A33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c0d;
/* rgb */ color: rgb(23, 60, 13);
/* oklch */ color: oklch(31.7% 0.085 139.7);
Tailwind
colors: {
  custom: {
    50: '#59724e',
    500: '#173c0d',
    950: '#000000',
  },
}
SCSS
$custom: #173c0d;
$custom-light: #59724e;
$custom-dark: #000000;
JSON
{
  "hex": "#173c0d",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 107.234,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31743,
    "c": 0.08519,
    "h": 139.7
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#173C0D
secondary
#682D78
accent
#40E7C4
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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