#173D28#173D28

#173D28 is a dark, muted green. Relative luminance 0.037; OKLCH L 32.6% C 0.058 H 156.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#173D28
RGBrgb(23, 61, 40)
HSLhsl(147, 45%, 16%)
HSVhsv(147, 62%, 24%)
CMYKcmyk(62.3%, 0%, 34.4%, 76.1%)
CIE-LABlab(22.56, -19.41, 8.97)
CIE-LCHlch(22.56, 21.38, 155.21°)
OKLaboklab(32.56% -0.053 0.0227)
OKLCHoklch(32.56% 0.058 156.8)
XYZxyz(2.4049, 3.6726, 2.5892)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D28 #3D172C
analogous
#193D17 #173D28 #173D3B
triadic
#173D28 #28173D #3D2817
tetradic
#173D28 #17193D #3D172C #3D3B17
square
#173D28 #17193D #3D172C #3D3B17
split-complementary
#173D28 #3B173D #3D1719
monochromatic
#08160F #08160F #173D28 #286945 #399662

Accessibility & contrast

On white

12.11
#173D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#173D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D28
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D28#FFFFFF#000000##FFFFFF
##173D281.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3827
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#0B3C37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173d28;
/* rgb */ color: rgb(23, 61, 40);
/* oklch */ color: oklch(32.6% 0.058 156.8);
Tailwind
colors: {
  custom: {
    50: '#587362',
    500: '#173d28',
    950: '#000000',
  },
}
SCSS
$custom: #173d28;
$custom-light: #587362;
$custom-dark: #000000;
JSON
{
  "hex": "#173d28",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 40
  },
  "hsl": {
    "h": 146.842,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.32562,
    "c": 0.05768,
    "h": 156.8
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#173D28
secondary
#743C5B
accent
#539BD5
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030805
muted
#787B79

Preview Lab

Preview with #173D28

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

Preview Lab → · Contrast checker → · Palette generator →

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