#175B42#175B42

#175B42 is a dark, moderate teal. Relative luminance 0.081; OKLCH L 42.2% C 0.079 H 164.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#175B42
RGBrgb(23, 91, 66)
HSLhsl(158, 60%, 22%)
HSVhsv(158, 75%, 36%)
CMYKcmyk(74.7%, 0%, 27.5%, 64.3%)
CIE-LABlab(34.10, -27.65, 8.45)
CIE-LCHlch(34.10, 28.91, 163.00°)
OKLaboklab(42.22% -0.0761 0.0216)
OKLCHoklch(42.22% 0.079 164.2)
XYZxyz(5.0773, 8.0571, 6.4408)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B42 #5B1730
analogous
#175B20 #175B42 #17525B
triadic
#175B42 #42175B #5B4217
tetradic
#175B42 #20175B #5B1730 #525B17
square
#175B42 #20175B #5B1730 #525B17
split-complementary
#175B42 #5B1752 #5B2017
monochromatic
#061812 #0B2A1F #175B42 #238C65 #30BD89

Accessibility & contrast

On white

8.04
#175B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#175B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175B42
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175B42#FFFFFF#000000##FFFFFF
##175B421.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#504E44
Tritanopia (blue-blind)
#005B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #175b42;
/* rgb */ color: rgb(23, 91, 66);
/* oklch */ color: oklch(42.2% 0.079 164.2);
Tailwind
colors: {
  custom: {
    50: '#5f8a76',
    500: '#175b42',
    950: '#000000',
  },
}
SCSS
$custom: #175b42;
$custom-light: #5f8a76;
$custom-dark: #000000;
JSON
{
  "hex": "#175b42",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 66
  },
  "hsl": {
    "h": 157.941,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.07906,
    "h": 164.2
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#175B42
secondary
#923C5C
accent
#457FE3
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #175B42

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

Preview Lab → · Contrast checker → · Palette generator →

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