#178F5F#178F5F

#178F5F is a mid, vivid teal. Relative luminance 0.207; OKLCH L 57.6% C 0.124 H 159.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#178F5F
RGBrgb(23, 143, 95)
HSLhsl(156, 72%, 33%)
HSVhsv(156, 84%, 56%)
CMYKcmyk(83.9%, 0%, 33.6%, 43.9%)
CIE-LABlab(52.57, -43.05, 16.88)
CIE-LCHlch(52.57, 46.24, 158.59°)
OKLaboklab(57.63% -0.1168 0.0427)
OKLCHoklch(57.63% 0.124 159.9)
XYZxyz(12.2400, 20.6518, 14.1653)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F5F #8F1747
analogous
#178F23 #178F5F #17838F
triadic
#178F5F #5F178F #8F5F17
tetradic
#178F5F #23178F #8F1747 #838F17
square
#178F5F #23178F #8F1747 #838F17
split-complementary
#178F5F #8F1783 #8F2317
monochromatic
#062619 #0F5A3C #178F5F #1FC482 #40E0A0

Accessibility & contrast

On white

4.09
#178F5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#178F5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F5F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F5F#FFFFFF#000000##000000
##178F5F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D835C
Deuteranopia (green-blind)
#7F7962
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #178f5f;
/* rgb */ color: rgb(23, 143, 95);
/* oklch */ color: oklch(57.6% 0.124 159.9);
Tailwind
colors: {
  custom: {
    50: '#6bb18c',
    500: '#178f5f',
    950: '#000000',
  },
}
SCSS
$custom: #178f5f;
$custom-light: #6bb18c;
$custom-dark: #000000;
JSON
{
  "hex": "#178f5f",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 95
  },
  "hsl": {
    "h": 156,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57625,
    "c": 0.12434,
    "h": 159.9
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#178F5F
secondary
#C14174
accent
#3982EF
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #178F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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