#173C19#173C19

#173C19 is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.9% C 0.073 H 144.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#173C19
RGBrgb(23, 60, 25)
HSLhsl(123, 45%, 16%)
HSVhsv(123, 62%, 24%)
CMYKcmyk(61.7%, 0%, 58.3%, 76.5%)
CIE-LABlab(21.89, -22.01, 17.60)
CIE-LCHlch(21.89, 28.19, 141.36°)
OKLaboklab(31.92% -0.0598 0.0425)
OKLCHoklch(31.92% 0.073 144.6)
XYZxyz(2.1446, 3.4839, 1.4790)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C19 #3C173A
analogous
#283C17 #173C19 #173C2C
triadic
#173C19 #19173C #3C1917
tetradic
#173C19 #17283C #3C173A #3C2C17
square
#173C19 #17283C #3C173A #3C2C17
split-complementary
#173C19 #2C173C #3C1728
monochromatic
#081609 #081609 #173C19 #28682B #39943E

Accessibility & contrast

On white

12.38
#173C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#173C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C19
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C19#FFFFFF#000000##FFFFFF
##173C191.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#38331B
Tritanopia (blue-blind)
#113A34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c19;
/* rgb */ color: rgb(23, 60, 25);
/* oklch */ color: oklch(31.9% 0.073 144.6);
Tailwind
colors: {
  custom: {
    50: '#587256',
    500: '#173c19',
    950: '#000000',
  },
}
SCSS
$custom: #173c19;
$custom-light: #587256;
$custom-dark: #000000;
JSON
{
  "hex": "#173c19",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 25
  },
  "hsl": {
    "h": 123.243,
    "s": 44.578,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31915,
    "c": 0.0733,
    "h": 144.6
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#173C19
secondary
#733C70
accent
#54CDD4
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030803
muted
#787B78

Preview Lab

Preview with #173C19

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

Preview Lab → · Contrast checker → · Palette generator →

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