#173A28#173A28

#173A28 is a dark, muted green. Relative luminance 0.034; OKLCH L 31.6% C 0.052 H 158.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#173A28
RGBrgb(23, 58, 40)
HSLhsl(149, 43%, 16%)
HSVhsv(149, 60%, 23%)
CMYKcmyk(60.3%, 0%, 31%, 77.3%)
CIE-LABlab(21.44, -17.81, 7.42)
CIE-LCHlch(21.44, 19.30, 157.39°)
OKLaboklab(31.65% -0.0489 0.0189)
OKLCHoklch(31.65% 0.052 158.9)
XYZxyz(2.2492, 3.3613, 2.5373)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A28 #3A1729
analogous
#173A17 #173A28 #173A39
triadic
#173A28 #28173A #3A2817
tetradic
#173A28 #17173A #3A1729 #3A3917
square
#173A28 #17173A #3A1729 #3A3917
split-complementary
#173A28 #39173A #3A1717
monochromatic
#09160F #09160F #173A28 #286646 #3A9264

Accessibility & contrast

On white

12.56
#173A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#173A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A28
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A28#FFFFFF#000000##FFFFFF
##173A281.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393627
Deuteranopia (green-blind)
#343229
Tritanopia (blue-blind)
#0C3A35
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173a28;
/* rgb */ color: rgb(23, 58, 40);
/* oklch */ color: oklch(31.6% 0.052 158.9);
Tailwind
colors: {
  custom: {
    50: '#577061',
    500: '#173a28',
    950: '#000000',
  },
}
SCSS
$custom: #173a28;
$custom-light: #577061;
$custom-dark: #000000;
JSON
{
  "hex": "#173a28",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 149.143,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31646,
    "c": 0.05242,
    "h": 158.9
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#173A28
secondary
#713C57
accent
#5596D3
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #173A28

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

Preview Lab → · Contrast checker → · Palette generator →

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