#173C0B#173C0B

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

Color values

HEX#173C0B
RGBrgb(23, 60, 11)
HSLhsl(105, 69%, 14%)
HSVhsv(105, 82%, 24%)
CMYKcmyk(61.7%, 0%, 81.7%, 76.5%)
CIE-LABlab(21.72, -23.87, 24.96)
CIE-LCHlch(21.72, 34.53, 133.72°)
OKLaboklab(31.72% -0.0657 0.0567)
OKLCHoklch(31.72% 0.087 139.2)
XYZxyz(2.0295, 3.4379, 0.8732)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C0B #300B3C
analogous
#303C0B #173C0B #0B3C18
triadic
#173C0B #0B173C #3C0B17
tetradic
#173C0B #0B303C #300B3C #3C180B
square
#173C0B #0B303C #300B3C #3C180B
split-complementary
#173C0B #180B3C #3C0B30
monochromatic
#0A1A05 #0A1A05 #173C0B #2B7014 #3FA31E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173C0B#FFFFFF#000000##FFFFFF
##173C0B1.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)
#3E3604
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#133A32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c0b;
/* rgb */ color: rgb(23, 60, 11);
/* oklch */ color: oklch(31.7% 0.087 139.2);
Tailwind
colors: {
  custom: {
    50: '#59724d',
    500: '#173c0b',
    950: '#000000',
  },
}
SCSS
$custom: #173c0b;
$custom-light: #59724d;
$custom-dark: #000000;
JSON
{
  "hex": "#173c0b",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 105.306,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31723,
    "c": 0.08679,
    "h": 139.2
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#173C0B
secondary
#652A79
accent
#3CECC1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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