#173F2B#173F2B

#173F2B is a dark, muted teal. Relative luminance 0.039; OKLCH L 33.3% C 0.058 H 159.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#173F2B
RGBrgb(23, 63, 43)
HSLhsl(150, 47%, 17%)
HSVhsv(150, 63%, 25%)
CMYKcmyk(63.5%, 0%, 31.7%, 75.3%)
CIE-LABlab(23.38, -19.72, 8.13)
CIE-LCHlch(23.38, 21.33, 157.59°)
OKLaboklab(33.25% -0.054 0.0207)
OKLCHoklch(33.25% 0.058 159)
XYZxyz(2.5667, 3.9114, 2.9047)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F2B #3F172B
analogous
#173F17 #173F2B #173F3F
triadic
#173F2B #2B173F #3F2B17
tetradic
#173F2B #17173F #3F172B #3F3F17
square
#173F2B #17173F #3F172B #3F3F17
split-complementary
#173F2B #3F173F #3F1717
monochromatic
#08160F #08160F #173F2B #276C4A #389968

Accessibility & contrast

On white

11.78
#173F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F2B
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F2B#FFFFFF#000000##FFFFFF
##173F2B1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2A
Deuteranopia (green-blind)
#39362C
Tritanopia (blue-blind)
#093F3A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173f2b;
/* rgb */ color: rgb(23, 63, 43);
/* oklch */ color: oklch(33.3% 0.058 159.0);
Tailwind
colors: {
  custom: {
    50: '#587464',
    500: '#173f2b',
    950: '#000000',
  },
}
SCSS
$custom: #173f2b;
$custom-light: #587464;
$custom-dark: #000000;
JSON
{
  "hex": "#173f2b",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 43
  },
  "hsl": {
    "h": 150,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33254,
    "c": 0.05784,
    "h": 159
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#173F2B
secondary
#763C59
accent
#5294D6
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #173F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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