#173F2C#173F2C

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

Color values

HEX#173F2C
RGBrgb(23, 63, 44)
HSLhsl(152, 47%, 17%)
HSVhsv(152, 63%, 25%)
CMYKcmyk(63.5%, 0%, 30.2%, 75.3%)
CIE-LABlab(23.40, -19.46, 7.51)
CIE-LCHlch(23.40, 20.86, 158.90°)
OKLaboklab(33.28% -0.0534 0.0192)
OKLCHoklch(33.28% 0.057 160.3)
XYZxyz(2.5853, 3.9188, 3.0025)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F2C #3F172A
analogous
#173F18 #173F2C #173E3F
triadic
#173F2C #2C173F #3F2C17
tetradic
#173F2C #18173F #3F172A #3E3F17
square
#173F2C #18173F #3F172A #3E3F17
split-complementary
#173F2C #3F173E #3F1817
monochromatic
#081610 #081610 #173F2C #276C4B #38996B

Accessibility & contrast

On white

11.77
#173F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F2C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F2C#FFFFFF#000000##FFFFFF
##173F2C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2B
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#083F3A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173f2c;
/* rgb */ color: rgb(23, 63, 44);
/* oklch */ color: oklch(33.3% 0.057 160.3);
Tailwind
colors: {
  custom: {
    50: '#587465',
    500: '#173f2c',
    950: '#000000',
  },
}
SCSS
$custom: #173f2c;
$custom-light: #587465;
$custom-dark: #000000;
JSON
{
  "hex": "#173f2c",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 44
  },
  "hsl": {
    "h": 151.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33282,
    "c": 0.05678,
    "h": 160.3
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#173F2C
secondary
#763C57
accent
#5291D6
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #173F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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