#173A11#173A11

#173A11 is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.2% C 0.078 H 140.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#173A11
RGBrgb(23, 58, 17)
HSLhsl(111, 55%, 15%)
HSVhsv(111, 71%, 23%)
CMYKcmyk(60.3%, 0%, 70.7%, 77.3%)
CIE-LABlab(21.01, -22.25, 21.20)
CIE-LCHlch(21.01, 30.73, 136.39°)
OKLaboklab(31.16% -0.0609 0.0495)
OKLCHoklch(31.16% 0.078 140.8)
XYZxyz(1.9675, 3.2486, 1.0536)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A11 #34113A
analogous
#2C3A11 #173A11 #113A20
triadic
#173A11 #11173A #3A1117
tetradic
#173A11 #112C3A #34113A #3A2011
square
#173A11 #112C3A #34113A #3A2011
split-complementary
#173A11 #20113A #3A112C
monochromatic
#091807 #091807 #173A11 #2A691F #3D992D

Accessibility & contrast

On white

12.73
#173A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A11
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A11#FFFFFF#000000##FFFFFF
##173A111.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340C
Deuteranopia (green-blind)
#373114
Tritanopia (blue-blind)
#133831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a11;
/* rgb */ color: rgb(23, 58, 17);
/* oklch */ color: oklch(31.2% 0.078 140.8);
Tailwind
colors: {
  custom: {
    50: '#587051',
    500: '#173a11',
    950: '#000000',
  },
}
SCSS
$custom: #173a11;
$custom-light: #587051;
$custom-dark: #000000;
JSON
{
  "hex": "#173a11",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 17
  },
  "hsl": {
    "h": 111.22,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31162,
    "c": 0.07848,
    "h": 140.8
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#173A11
secondary
#6A3373
accent
#4ADEC8
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #173A11

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

Preview Lab → · Contrast checker → · Palette generator →

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