#173F2F#173F2F

#173F2F is a dark, muted teal. Relative luminance 0.039; OKLCH L 33.4% C 0.054 H 164.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#173F2F
RGBrgb(23, 63, 47)
HSLhsl(156, 47%, 17%)
HSVhsv(156, 63%, 25%)
CMYKcmyk(63.5%, 0%, 25.4%, 75.3%)
CIE-LABlab(23.48, -18.68, 5.65)
CIE-LCHlch(23.48, 19.51, 163.18°)
OKLaboklab(33.37% -0.0517 0.0145)
OKLCHoklch(33.37% 0.054 164.4)
XYZxyz(2.6437, 3.9422, 3.3104)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F2F #3F1727
analogous
#173F1B #173F2F #173B3F
triadic
#173F2F #2F173F #3F2F17
tetradic
#173F2F #1B173F #3F1727 #3B3F17
square
#173F2F #1B173F #3F1727 #3B3F17
split-complementary
#173F2F #3F173B #3F1B17
monochromatic
#081611 #081611 #173F2F #276C50 #389972

Accessibility & contrast

On white

11.74
#173F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#173F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F2F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F2F#FFFFFF#000000##FFFFFF
##173F2F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2E
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#063F3B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173f2f;
/* rgb */ color: rgb(23, 63, 47);
/* oklch */ color: oklch(33.4% 0.054 164.4);
Tailwind
colors: {
  custom: {
    50: '#587467',
    500: '#173f2f',
    950: '#000000',
  },
}
SCSS
$custom: #173f2f;
$custom-light: #587467;
$custom-dark: #000000;
JSON
{
  "hex": "#173f2f",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 47
  },
  "hsl": {
    "h": 156,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33372,
    "c": 0.05373,
    "h": 164.4
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#173F2F
secondary
#763C53
accent
#5287D6
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #173F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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