#173F3A#173F3A

#173F3A is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.8% C 0.046 H 184.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#173F3A
RGBrgb(23, 63, 58)
HSLhsl(173, 47%, 17%)
HSVhsv(173, 63%, 25%)
CMYKcmyk(63.5%, 0%, 7.9%, 75.3%)
CIE-LABlab(23.81, -15.46, -1.17)
CIE-LCHlch(23.81, 15.51, 184.32°)
OKLaboklab(33.75% -0.0456 -0.0034)
OKLCHoklch(33.75% 0.046 184.2)
XYZxyz(2.8942, 4.0424, 4.6299)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F3A #3F171C
analogous
#173F26 #173F3A #17303F
triadic
#173F3A #3A173F #3F3A17
tetradic
#173F3A #26173F #3F171C #303F17
square
#173F3A #26173F #3F171C #303F17
split-complementary
#173F3A #3F1730 #3F2617
monochromatic
#081615 #081615 #173F3A #276C63 #38998D

Accessibility & contrast

On white

11.61
#173F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#173F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F3A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F3A#FFFFFF#000000##FFFFFF
##173F3A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B3A
Deuteranopia (green-blind)
#36373B
Tritanopia (blue-blind)
#00403D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173f3a;
/* rgb */ color: rgb(23, 63, 58);
/* oklch */ color: oklch(33.8% 0.046 184.2);
Tailwind
colors: {
  custom: {
    50: '#597470',
    500: '#173f3a',
    950: '#000000',
  },
}
SCSS
$custom: #173f3a;
$custom-light: #597470;
$custom-dark: #000000;
JSON
{
  "hex": "#173f3a",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 58
  },
  "hsl": {
    "h": 172.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33752,
    "c": 0.04577,
    "h": 184.2
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#173F3A
secondary
#763C43
accent
#5262D6
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#040807
muted
#797B7A

Preview Lab

Preview with #173F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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