#178D4F#178D4F

#178D4F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.137 H 153.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#178D4F
RGBrgb(23, 141, 79)
HSLhsl(148, 72%, 32%)
HSVhsv(148, 84%, 55%)
CMYKcmyk(83.7%, 0%, 44%, 44.7%)
CIE-LABlab(51.60, -45.63, 24.49)
CIE-LCHlch(51.60, 51.78, 151.77°)
OKLaboklab(56.73% -0.1226 0.0606)
OKLCHoklch(56.73% 0.137 153.7)
XYZxyz(11.2884, 19.7950, 10.6215)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D4F #8D1755
analogous
#1A8D17 #178D4F #178D8A
triadic
#178D4F #4F178D #8D4F17
tetradic
#178D4F #171A8D #8D1755 #8D8A17
square
#178D4F #171A8D #8D1755 #8D8A17
split-complementary
#178D4F #8A178D #8D171A
monochromatic
#062414 #0E5832 #178D4F #20C26C #3FE08B

Accessibility & contrast

On white

4.23
#178D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#178D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D4F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D4F#FFFFFF#000000##000000
##178D4F1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814A
Deuteranopia (green-blind)
#807753
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178d4f;
/* rgb */ color: rgb(23, 141, 79);
/* oklch */ color: oklch(56.7% 0.137 153.7);
Tailwind
colors: {
  custom: {
    50: '#6baf81',
    500: '#178d4f',
    950: '#000000',
  },
}
SCSS
$custom: #178d4f;
$custom-light: #6baf81;
$custom-dark: #000000;
JSON
{
  "hex": "#178d4f",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 148.475,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.13679,
    "h": 153.7
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#178D4F
secondary
#C04083
accent
#3999EF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #178D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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