#173B2A#173B2A

#173B2A is a dark, muted teal. Relative luminance 0.035; OKLCH L 32.0% C 0.052 H 160.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#173B2A
RGBrgb(23, 59, 42)
HSLhsl(152, 44%, 16%)
HSVhsv(152, 61%, 23%)
CMYKcmyk(61%, 0%, 28.8%, 76.9%)
CIE-LABlab(21.86, -17.84, 6.68)
CIE-LCHlch(21.86, 19.05, 159.47°)
OKLaboklab(32.01% -0.0491 0.0171)
OKLCHoklch(32.01% 0.052 160.8)
XYZxyz(2.3350, 3.4771, 2.7381)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B2A #3B1728
analogous
#173B18 #173B2A #173A3B
triadic
#173B2A #2A173B #3B2A17
tetradic
#173B2A #18173B #3B1728 #3A3B17
square
#173B2A #18173B #3B1728 #3A3B17
split-complementary
#173B2A #3B173A #3B1817
monochromatic
#091610 #091610 #173B2A #286749 #399369

Accessibility & contrast

On white

12.39
#173B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#173B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B2A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B2A#FFFFFF#000000##FFFFFF
##173B2A1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3729
Deuteranopia (green-blind)
#35332B
Tritanopia (blue-blind)
#0B3B36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173b2a;
/* rgb */ color: rgb(23, 59, 42);
/* oklch */ color: oklch(32.0% 0.052 160.8);
Tailwind
colors: {
  custom: {
    50: '#577163',
    500: '#173b2a',
    950: '#000000',
  },
}
SCSS
$custom: #173b2a;
$custom-light: #577163;
$custom-dark: #000000;
JSON
{
  "hex": "#173b2a",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 42
  },
  "hsl": {
    "h": 151.667,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3201,
    "c": 0.05201,
    "h": 160.8
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#173B2A
secondary
#723C55
accent
#5490D4
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #173B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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