#175A42#175A42

#175A42 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 41.9% C 0.078 H 164.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#175A42
RGBrgb(23, 90, 66)
HSLhsl(159, 59%, 22%)
HSVhsv(159, 74%, 35%)
CMYKcmyk(74.4%, 0%, 26.7%, 64.7%)
CIE-LABlab(33.75, -27.18, 7.96)
CIE-LCHlch(33.75, 28.32, 163.68°)
OKLaboklab(41.93% -0.0749 0.0203)
OKLCHoklch(41.93% 0.078 164.8)
XYZxyz(4.9923, 7.8873, 6.4125)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A42 #5A172F
analogous
#175A20 #175A42 #17515A
triadic
#175A42 #42175A #5A4217
tetradic
#175A42 #20175A #5A172F #515A17
square
#175A42 #20175A #5A172F #515A17
split-complementary
#175A42 #5A1751 #5A2017
monochromatic
#061812 #0B291E #175A42 #238B66 #30BB89

Accessibility & contrast

On white

8.15
#175A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#175A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A42
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A42#FFFFFF#000000##FFFFFF
##175A421.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585341
Deuteranopia (green-blind)
#4F4D44
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175a42;
/* rgb */ color: rgb(23, 90, 66);
/* oklch */ color: oklch(41.9% 0.078 164.8);
Tailwind
colors: {
  custom: {
    50: '#5e8976',
    500: '#175a42',
    950: '#000000',
  },
}
SCSS
$custom: #175a42;
$custom-light: #5e8976;
$custom-dark: #000000;
JSON
{
  "hex": "#175a42",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 158.507,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.0776,
    "h": 164.8
  },
  "luminance": 0.07888
}

Semantic roles & 50–950 ramp

primary
#175A42
secondary
#913C5A
accent
#457EE2
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #175A42

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

Preview Lab → · Contrast checker → · Palette generator →

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