#173C0F#173C0F

#173C0F is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.8% C 0.083 H 140.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#173C0F
RGBrgb(23, 60, 15)
HSLhsl(109, 60%, 15%)
HSVhsv(109, 75%, 24%)
CMYKcmyk(61.7%, 0%, 75%, 76.5%)
CIE-LABlab(21.76, -23.44, 23.09)
CIE-LCHlch(21.76, 32.90, 135.44°)
OKLaboklab(31.77% -0.0642 0.0533)
OKLCHoklch(31.77% 0.083 140.3)
XYZxyz(2.0553, 3.4482, 1.0091)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C0F #340F3C
analogous
#2E3C0F #173C0F #0F3C1D
triadic
#173C0F #0F173C #3C0F17
tetradic
#173C0F #0F2E3C #340F3C #3C1D0F
square
#173C0F #0F2E3C #340F3C #3C1D0F
split-complementary
#173C0F #1D0F3C #3C0F2E
monochromatic
#091806 #091806 #173C0F #2A6D1B #3D9E27

Accessibility & contrast

On white

12.43
#173C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C0F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C0F#FFFFFF#000000##FFFFFF
##173C0F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173c0f;
/* rgb */ color: rgb(23, 60, 15);
/* oklch */ color: oklch(31.8% 0.083 140.3);
Tailwind
colors: {
  custom: {
    50: '#597250',
    500: '#173c0f',
    950: '#000000',
  },
}
SCSS
$custom: #173c0f;
$custom-light: #597250;
$custom-dark: #000000;
JSON
{
  "hex": "#173c0f",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 109.333,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31766,
    "c": 0.08347,
    "h": 140.3
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#173C0F
secondary
#6A3076
accent
#45E3C7
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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