#173D15#173D15

#173D15 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.2% C 0.079 H 142.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#173D15
RGBrgb(23, 61, 21)
HSLhsl(117, 49%, 16%)
HSVhsv(117, 66%, 24%)
CMYKcmyk(62.3%, 0%, 65.6%, 76.1%)
CIE-LABlab(22.21, -23.13, 20.34)
CIE-LCHlch(22.21, 30.80, 138.67°)
OKLaboklab(32.16% -0.063 0.0481)
OKLCHoklch(32.16% 0.079 142.6)
XYZxyz(2.1573, 3.5736, 1.2854)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D15 #3B153D
analogous
#2B3D15 #173D15 #153D27
triadic
#173D15 #15173D #3D1517
tetradic
#173D15 #152B3D #3B153D #3D2715
square
#173D15 #152B3D #3B153D #3D2715
split-complementary
#173D15 #27153D #3D152B
monochromatic
#091708 #091708 #173D15 #286B25 #399834

Accessibility & contrast

On white

12.25
#173D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D15
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D15#FFFFFF#000000##FFFFFF
##173D151.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3711
Deuteranopia (green-blind)
#393418
Tritanopia (blue-blind)
#123B34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d15;
/* rgb */ color: rgb(23, 61, 21);
/* oklch */ color: oklch(32.2% 0.079 142.6);
Tailwind
colors: {
  custom: {
    50: '#587354',
    500: '#173d15',
    950: '#000000',
  },
}
SCSS
$custom: #173d15;
$custom-light: #587354;
$custom-dark: #000000;
JSON
{
  "hex": "#173d15",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 21
  },
  "hsl": {
    "h": 117,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32161,
    "c": 0.07926,
    "h": 142.6
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#173D15
secondary
#723975
accent
#4FD8D1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173D15

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

Preview Lab → · Contrast checker → · Palette generator →

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