#178F7D#178F7D

#178F7D is a mid, moderate teal. Relative luminance 0.213; OKLCH L 58.5% C 0.102 H 179.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#178F7D
RGBrgb(23, 143, 125)
HSLhsl(171, 72%, 33%)
HSVhsv(171, 84%, 56%)
CMYKcmyk(83.9%, 0%, 12.6%, 43.9%)
CIE-LABlab(53.28, -35.36, 0.72)
CIE-LCHlch(53.28, 35.37, 178.83°)
OKLaboklab(58.45% -0.1018 0.0014)
OKLCHoklch(58.45% 0.102 179.2)
XYZxyz(13.8756, 21.3060, 22.7792)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F7D #8F1729
analogous
#178F41 #178F7D #17658F
triadic
#178F7D #7D178F #8F7D17
tetradic
#178F7D #41178F #8F1729 #658F17
square
#178F7D #41178F #8F1729 #658F17
split-complementary
#178F7D #8F1765 #8F4117
monochromatic
#062621 #0F5A4F #178F7D #1FC4AB #40E0C8

Accessibility & contrast

On white

3.99
#178F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#178F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F7D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F7D#FFFFFF#000000##000000
##178F7D1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867C
Deuteranopia (green-blind)
#797B7E
Tritanopia (blue-blind)
#00918A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #178f7d;
/* rgb */ color: rgb(23, 143, 125);
/* oklch */ color: oklch(58.5% 0.102 179.2);
Tailwind
colors: {
  custom: {
    50: '#6db0a2',
    500: '#178f7d',
    950: '#000000',
  },
}
SCSS
$custom: #178f7d;
$custom-light: #6db0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#178f7d",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 125
  },
  "hsl": {
    "h": 171,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.10177,
    "h": 179.2
  },
  "luminance": 0.21308
}

Semantic roles & 50–950 ramp

primary
#178F7D
secondary
#C14154
accent
#3954EF
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #178F7D

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

Preview Lab → · Contrast checker → · Palette generator →

#178F7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva