#173A13#173A13

#173A13 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.2% C 0.076 H 141.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#173A13
RGBrgb(23, 58, 19)
HSLhsl(114, 51%, 15%)
HSVhsv(114, 67%, 23%)
CMYKcmyk(60.3%, 0%, 67.2%, 77.3%)
CIE-LABlab(21.04, -21.98, 20.11)
CIE-LCHlch(21.04, 29.79, 137.54°)
OKLaboklab(31.19% -0.06 0.0474)
OKLCHoklch(31.19% 0.076 141.7)
XYZxyz(1.9839, 3.2551, 1.1397)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A13 #36133A
analogous
#2A3A13 #173A13 #133A22
triadic
#173A13 #13173A #3A1317
tetradic
#173A13 #132A3A #36133A #3A2213
square
#173A13 #132A3A #36133A #3A2213
split-complementary
#173A13 #22133A #3A132A
monochromatic
#091708 #091708 #173A13 #296822 #3C9631

Accessibility & contrast

On white

12.72
#173A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A13
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A13#FFFFFF#000000##FFFFFF
##173A131.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340F
Deuteranopia (green-blind)
#373116
Tritanopia (blue-blind)
#133831
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173a13;
/* rgb */ color: rgb(23, 58, 19);
/* oklch */ color: oklch(31.2% 0.076 141.7);
Tailwind
colors: {
  custom: {
    50: '#587052',
    500: '#173a13',
    950: '#000000',
  },
}
SCSS
$custom: #173a13;
$custom-light: #587052;
$custom-dark: #000000;
JSON
{
  "hex": "#173a13",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 19
  },
  "hsl": {
    "h": 113.846,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.3119,
    "c": 0.07647,
    "h": 141.7
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#173A13
secondary
#6C3672
accent
#4EDACC
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #173A13

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

Preview Lab → · Contrast checker → · Palette generator →

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