#173C0A#173C0A

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

Color values

HEX#173C0A
RGBrgb(23, 60, 10)
HSLhsl(104, 71%, 14%)
HSVhsv(104, 83%, 24%)
CMYKcmyk(61.7%, 0%, 83.3%, 76.5%)
CIE-LABlab(21.71, -23.96, 25.36)
CIE-LCHlch(21.71, 34.89, 133.37°)
OKLaboklab(31.71% -0.066 0.0575)
OKLCHoklch(31.71% 0.088 138.9)
XYZxyz(2.0239, 3.4356, 0.8436)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C0A #2F0A3C
analogous
#303C0A #173C0A #0A3C16
triadic
#173C0A #0A173C #3C0A17
tetradic
#173C0A #0A303C #2F0A3C #3C160A
square
#173C0A #0A303C #2F0A3C #3C160A
split-complementary
#173C0A #160A3C #3C0A30
monochromatic
#0A1A04 #0A1A04 #173C0A #2B7013 #3FA51B

Accessibility & contrast

On white

12.45
#173C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C0A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C0A#FFFFFF#000000##FFFFFF
##173C0A1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3603
Deuteranopia (green-blind)
#39330F
Tritanopia (blue-blind)
#133A32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c0a;
/* rgb */ color: rgb(23, 60, 10);
/* oklch */ color: oklch(31.7% 0.088 138.9);
Tailwind
colors: {
  custom: {
    50: '#59724d',
    500: '#173c0a',
    950: '#000000',
  },
}
SCSS
$custom: #173c0a;
$custom-light: #59724d;
$custom-dark: #000000;
JSON
{
  "hex": "#173c0a",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 10
  },
  "hsl": {
    "h": 104.4,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31713,
    "c": 0.08753,
    "h": 138.9
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#173C0A
secondary
#642879
accent
#3AEEBF
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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