#178C5F#178C5F

#178C5F is a mid, vivid teal. Relative luminance 0.198; OKLCH L 56.8% C 0.120 H 160.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#178C5F
RGBrgb(23, 140, 95)
HSLhsl(157, 72%, 32%)
HSVhsv(157, 84%, 55%)
CMYKcmyk(83.6%, 0%, 32.1%, 45.1%)
CIE-LABlab(51.57, -41.84, 15.51)
CIE-LCHlch(51.57, 44.62, 159.66°)
OKLaboklab(56.8% -0.1138 0.0393)
OKLCHoklch(56.8% 0.12 160.9)
XYZxyz(11.7957, 19.7631, 14.0172)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C5F #8C1744
analogous
#178C25 #178C5F #177F8C
triadic
#178C5F #5F178C #8C5F17
tetradic
#178C5F #25178C #8C1744 #7F8C17
square
#178C5F #25178C #8C1744 #7F8C17
split-complementary
#178C5F #8C177F #8C2517
monochromatic
#062318 #0E573B #178C5F #20C183 #3EDFA1

Accessibility & contrast

On white

4.24
#178C5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#178C5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C5F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C5F#FFFFFF#000000##000000
##178C5F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815C
Deuteranopia (green-blind)
#7C7762
Tritanopia (blue-blind)
#008C80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178c5f;
/* rgb */ color: rgb(23, 140, 95);
/* oklch */ color: oklch(56.8% 0.120 160.9);
Tailwind
colors: {
  custom: {
    50: '#6bae8c',
    500: '#178c5f',
    950: '#000000',
  },
}
SCSS
$custom: #178c5f;
$custom-light: #6bae8c;
$custom-dark: #000000;
JSON
{
  "hex": "#178c5f",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 95
  },
  "hsl": {
    "h": 156.923,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.12036,
    "h": 160.9
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

primary
#178C5F
secondary
#BF3F71
accent
#397FEF
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #178C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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