#173A2D#173A2D

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

Color values

HEX#173A2D
RGBrgb(23, 58, 45)
HSLhsl(158, 43%, 16%)
HSVhsv(158, 60%, 23%)
CMYKcmyk(60.3%, 0%, 22.4%, 77.3%)
CIE-LABlab(21.57, -16.49, 4.27)
CIE-LCHlch(21.57, 17.03, 165.48°)
OKLaboklab(31.8% -0.046 0.011)
OKLCHoklch(31.8% 0.047 166.6)
XYZxyz(2.3398, 3.3975, 3.0146)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A2D #3A1724
analogous
#173A1B #173A2D #17353A
triadic
#173A2D #2D173A #3A2D17
tetradic
#173A2D #1B173A #3A1724 #353A17
square
#173A2D #1B173A #3A1724 #353A17
split-complementary
#173A2D #3A1735 #3A1B17
monochromatic
#091611 #091611 #173A2D #28664F #3A9271

Accessibility & contrast

On white

12.50
#173A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A2D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A2D#FFFFFF#000000##FFFFFF
##173A2D1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362C
Deuteranopia (green-blind)
#33322E
Tritanopia (blue-blind)
#093A36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173a2d;
/* rgb */ color: rgb(23, 58, 45);
/* oklch */ color: oklch(31.8% 0.047 166.6);
Tailwind
colors: {
  custom: {
    50: '#577065',
    500: '#173a2d',
    950: '#000000',
  },
}
SCSS
$custom: #173a2d;
$custom-light: #577065;
$custom-dark: #000000;
JSON
{
  "hex": "#173a2d",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 45
  },
  "hsl": {
    "h": 157.714,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.318,
    "c": 0.04733,
    "h": 166.6
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#173A2D
secondary
#713C50
accent
#5584D3
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#030705
muted
#787A7A

Preview Lab

Preview with #173A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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