#173A2F#173A2F

#173A2F is a dark, muted teal. Relative luminance 0.034; OKLCH L 31.9% C 0.046 H 170.3°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#173A2F
RGBrgb(23, 58, 47)
HSLhsl(161, 43%, 16%)
HSVhsv(161, 60%, 23%)
CMYKcmyk(60.3%, 0%, 19%, 77.3%)
CIE-LABlab(21.63, -15.93, 3.01)
CIE-LCHlch(21.63, 16.21, 169.28°)
OKLaboklab(31.87% -0.0449 0.0077)
OKLCHoklch(31.87% 0.046 170.3)
XYZxyz(2.3793, 3.4133, 3.2222)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A2F #3A1722
analogous
#173A1D #173A2F #17333A
triadic
#173A2F #2F173A #3A2F17
tetradic
#173A2F #1D173A #3A1722 #333A17
square
#173A2F #1D173A #3A1722 #333A17
split-complementary
#173A2F #3A1733 #3A1D17
monochromatic
#091612 #091612 #173A2F #286653 #3A9276

Accessibility & contrast

On white

12.48
#173A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#173A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A2F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A2F#FFFFFF#000000##FFFFFF
##173A2F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#333230
Tritanopia (blue-blind)
#083A37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173a2f;
/* rgb */ color: rgb(23, 58, 47);
/* oklch */ color: oklch(31.9% 0.046 170.3);
Tailwind
colors: {
  custom: {
    50: '#577067',
    500: '#173a2f',
    950: '#000000',
  },
}
SCSS
$custom: #173a2f;
$custom-light: #577067;
$custom-dark: #000000;
JSON
{
  "hex": "#173a2f",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 47
  },
  "hsl": {
    "h": 161.143,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31866,
    "c": 0.04557,
    "h": 170.3
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#173A2F
secondary
#713C4D
accent
#557CD3
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#030706
muted
#787A7A

Preview Lab

Preview with #173A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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