#173C0C#173C0C

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

Color values

HEX#173C0C
RGBrgb(23, 60, 12)
HSLhsl(106, 67%, 14%)
HSVhsv(106, 80%, 24%)
CMYKcmyk(61.7%, 0%, 80%, 76.5%)
CIE-LABlab(21.73, -23.77, 24.52)
CIE-LCHlch(21.73, 34.15, 134.10°)
OKLaboklab(31.73% -0.0653 0.0559)
OKLCHoklch(31.73% 0.086 139.4)
XYZxyz(2.0355, 3.4403, 0.9045)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C0C #310C3C
analogous
#2F3C0C #173C0C #0C3C19
triadic
#173C0C #0C173C #3C0C17
tetradic
#173C0C #0C2F3C #310C3C #3C190C
square
#173C0C #0C2F3C #310C3C #3C190C
split-complementary
#173C0C #190C3C #3C0C2F
monochromatic
#0A1A05 #0A1A05 #173C0C #2B6F16 #3EA220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173C0C#FFFFFF#000000##FFFFFF
##173C0C1.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)
#3E3605
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#133A32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c0c;
/* rgb */ color: rgb(23, 60, 12);
/* oklch */ color: oklch(31.7% 0.086 139.4);
Tailwind
colors: {
  custom: {
    50: '#59724e',
    500: '#173c0c',
    950: '#000000',
  },
}
SCSS
$custom: #173c0c;
$custom-light: #59724e;
$custom-dark: #000000;
JSON
{
  "hex": "#173c0c",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 106.25,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31733,
    "c": 0.08601,
    "h": 139.4
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#173C0C
secondary
#672C78
accent
#3EEAC2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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