#173A14#173A14

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

Color values

HEX#173A14
RGBrgb(23, 58, 20)
HSLhsl(115, 49%, 15%)
HSVhsv(115, 66%, 23%)
CMYKcmyk(60.3%, 0%, 65.5%, 77.3%)
CIE-LABlab(21.05, -21.84, 19.55)
CIE-LCHlch(21.05, 29.31, 138.16°)
OKLaboklab(31.21% -0.0595 0.0463)
OKLCHoklch(31.21% 0.075 142.1)
XYZxyz(1.9926, 3.2586, 1.1857)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A14 #37143A
analogous
#2A3A14 #173A14 #143A24
triadic
#173A14 #14173A #3A1417
tetradic
#173A14 #142A3A #37143A #3A2414
square
#173A14 #142A3A #37143A #3A2414
split-complementary
#173A14 #24143A #3A142A
monochromatic
#091708 #091708 #173A14 #296824 #3B9533

Accessibility & contrast

On white

12.71
#173A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A14
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A14#FFFFFF#000000##FFFFFF
##173A141.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3410
Deuteranopia (green-blind)
#373117
Tritanopia (blue-blind)
#123832
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173a14;
/* rgb */ color: rgb(23, 58, 20);
/* oklch */ color: oklch(31.2% 0.075 142.1);
Tailwind
colors: {
  custom: {
    50: '#587053',
    500: '#173a14',
    950: '#000000',
  },
}
SCSS
$custom: #173a14;
$custom-light: #587053;
$custom-dark: #000000;
JSON
{
  "hex": "#173a14",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 20
  },
  "hsl": {
    "h": 115.263,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31205,
    "c": 0.07543,
    "h": 142.1
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#173A14
secondary
#6D3872
accent
#50D8CD
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #173A14

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

Preview Lab → · Contrast checker → · Palette generator →

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