#173A2C#173A2C

#173A2C is a dark, muted teal. Relative luminance 0.034; OKLCH L 31.8% C 0.048 H 164.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#173A2C
RGBrgb(23, 58, 44)
HSLhsl(156, 43%, 16%)
HSVhsv(156, 60%, 23%)
CMYKcmyk(60.3%, 0%, 24.1%, 77.3%)
CIE-LABlab(21.54, -16.76, 4.90)
CIE-LCHlch(21.54, 17.47, 163.70°)
OKLaboklab(31.77% -0.0466 0.0126)
OKLCHoklch(31.77% 0.048 164.9)
XYZxyz(2.3208, 3.3899, 2.9144)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A2C #3A1725
analogous
#173A1A #173A2C #17363A
triadic
#173A2C #2C173A #3A2C17
tetradic
#173A2C #1A173A #3A1725 #363A17
square
#173A2C #1A173A #3A1725 #363A17
split-complementary
#173A2C #3A1736 #3A1A17
monochromatic
#091611 #091611 #173A2C #28664D #3A926E

Accessibility & contrast

On white

12.51
#173A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A2C
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A2C#FFFFFF#000000##FFFFFF
##173A2C1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362B
Deuteranopia (green-blind)
#34322D
Tritanopia (blue-blind)
#0A3A36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173a2c;
/* rgb */ color: rgb(23, 58, 44);
/* oklch */ color: oklch(31.8% 0.048 164.9);
Tailwind
colors: {
  custom: {
    50: '#577065',
    500: '#173a2c',
    950: '#000000',
  },
}
SCSS
$custom: #173a2c;
$custom-light: #577065;
$custom-dark: #000000;
JSON
{
  "hex": "#173a2c",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 44
  },
  "hsl": {
    "h": 156,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31768,
    "c": 0.04828,
    "h": 164.9
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#173A2C
secondary
#713C51
accent
#5587D3
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#030705
muted
#787A7A

Preview Lab

Preview with #173A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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