#173C16#173C16

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

Color values

HEX#173C16
RGBrgb(23, 60, 22)
HSLhsl(118, 46%, 16%)
HSVhsv(118, 63%, 24%)
CMYKcmyk(61.7%, 0%, 63.3%, 76.5%)
CIE-LABlab(21.84, -22.50, 19.33)
CIE-LCHlch(21.84, 29.66, 139.34°)
OKLaboklab(31.86% -0.0612 0.046)
OKLCHoklch(31.86% 0.077 143.1)
XYZxyz(2.1139, 3.4716, 1.3176)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C16 #3B163C
analogous
#2A3C16 #173C16 #163C28
triadic
#173C16 #16173C #3C1617
tetradic
#173C16 #162A3C #3B163C #3C2816
square
#173C16 #162A3C #3B163C #3C2816
split-complementary
#173C16 #28163C #3C162A
monochromatic
#091608 #091608 #173C16 #286926 #399637

Accessibility & contrast

On white

12.39
#173C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#173C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C16
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C16#FFFFFF#000000##FFFFFF
##173C161.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3612
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#123A34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c16;
/* rgb */ color: rgb(23, 60, 22);
/* oklch */ color: oklch(31.9% 0.077 143.1);
Tailwind
colors: {
  custom: {
    50: '#587254',
    500: '#173c16',
    950: '#000000',
  },
}
SCSS
$custom: #173c16;
$custom-light: #587254;
$custom-dark: #000000;
JSON
{
  "hex": "#173c16",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 22
  },
  "hsl": {
    "h": 118.421,
    "s": 46.341,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31864,
    "c": 0.07658,
    "h": 143.1
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#173C16
secondary
#723B73
accent
#52D6D3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030803
muted
#787B78

Preview Lab

Preview with #173C16

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

Preview Lab → · Contrast checker → · Palette generator →

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