#175C42#175C42

#175C42 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.5% C 0.081 H 163.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#175C42
RGBrgb(23, 92, 66)
HSLhsl(157, 60%, 23%)
HSVhsv(157, 75%, 36%)
CMYKcmyk(75%, 0%, 28.3%, 63.9%)
CIE-LABlab(34.46, -28.12, 8.95)
CIE-LCHlch(34.46, 29.51, 162.34°)
OKLaboklab(42.51% -0.0772 0.0228)
OKLCHoklch(42.51% 0.081 163.5)
XYZxyz(5.1633, 8.2292, 6.4695)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C42 #5C1731
analogous
#175C1F #175C42 #17545C
triadic
#175C42 #42175C #5C4217
tetradic
#175C42 #1F175C #5C1731 #545C17
square
#175C42 #1F175C #5C1731 #545C17
split-complementary
#175C42 #5C1754 #5C1F17
monochromatic
#061812 #0B2B1F #175C42 #238D65 #2FBE88

Accessibility & contrast

On white

7.94
#175C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#175C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175C42
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C42#FFFFFF#000000##FFFFFF
##175C421.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5541
Deuteranopia (green-blind)
#514E44
Tritanopia (blue-blind)
#005C55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #175c42;
/* rgb */ color: rgb(23, 92, 66);
/* oklch */ color: oklch(42.5% 0.081 163.5);
Tailwind
colors: {
  custom: {
    50: '#5f8b76',
    500: '#175c42',
    950: '#000000',
  },
}
SCSS
$custom: #175c42;
$custom-light: #5f8b76;
$custom-dark: #000000;
JSON
{
  "hex": "#175c42",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 66
  },
  "hsl": {
    "h": 157.391,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42512,
    "c": 0.08051,
    "h": 163.5
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#175C42
secondary
#933C5D
accent
#4580E3
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #175C42

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

Preview Lab → · Contrast checker → · Palette generator →

#175C42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva