#173A0C#173A0C

#173A0C is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.1% C 0.083 H 139.2°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#173A0C
RGBrgb(23, 58, 12)
HSLhsl(106, 66%, 14%)
HSVhsv(106, 79%, 23%)
CMYKcmyk(60.3%, 0%, 79.3%, 77.3%)
CIE-LABlab(20.96, -22.84, 23.69)
CIE-LCHlch(20.96, 32.91, 133.95°)
OKLaboklab(31.1% -0.0628 0.0542)
OKLCHoklch(31.1% 0.083 139.2)
XYZxyz(1.9327, 3.2347, 0.8703)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A0C #2F0C3A
analogous
#2E3A0C #173A0C #0C3A18
triadic
#173A0C #0C173A #3A0C17
tetradic
#173A0C #0C2E3A #2F0C3A #3A180C
square
#173A0C #0C2E3A #2F0C3A #3A180C
split-complementary
#173A0C #180C3A #3A0C2E
monochromatic
#0A1905 #0A1905 #173A0C #2B6D16 #3F9F21

Accessibility & contrast

On white

12.75
#173A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#173A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A0C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A0C#FFFFFF#000000##FFFFFF
##173A0C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3406
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#143831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a0c;
/* rgb */ color: rgb(23, 58, 12);
/* oklch */ color: oklch(31.1% 0.083 139.2);
Tailwind
colors: {
  custom: {
    50: '#58704e',
    500: '#173a0c',
    950: '#000000',
  },
}
SCSS
$custom: #173a0c;
$custom-light: #58704e;
$custom-dark: #000000;
JSON
{
  "hex": "#173a0c",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 105.652,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31101,
    "c": 0.083,
    "h": 139.2
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#173A0C
secondary
#642C76
accent
#3FE9C0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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