#178D4C#178D4C

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

Color values

HEX#178D4C
RGBrgb(23, 141, 76)
HSLhsl(147, 72%, 32%)
HSVhsv(147, 84%, 55%)
CMYKcmyk(83.7%, 0%, 46.1%, 44.7%)
CIE-LABlab(51.56, -46.19, 26.06)
CIE-LCHlch(51.56, 53.04, 150.57°)
OKLaboklab(56.68% -0.1241 0.0641)
OKLCHoklch(56.68% 0.14 152.7)
XYZxyz(11.1817, 19.7523, 10.0593)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D4C #8D1758
analogous
#1D8D17 #178D4C #178D87
triadic
#178D4C #4C178D #8D4C17
tetradic
#178D4C #171D8D #8D1758 #8D8717
square
#178D4C #171D8D #8D1758 #8D8717
split-complementary
#178D4C #87178D #8D171D
monochromatic
#062413 #0E5830 #178D4C #20C268 #3FE087

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178D4C#FFFFFF#000000##000000
##178D4C1.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)
#8D8047
Deuteranopia (green-blind)
#807751
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178d4c;
/* rgb */ color: rgb(23, 141, 76);
/* oklch */ color: oklch(56.7% 0.140 152.7);
Tailwind
colors: {
  custom: {
    50: '#6baf7f',
    500: '#178d4c',
    950: '#000000',
  },
}
SCSS
$custom: #178d4c;
$custom-light: #6baf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#178d4c",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 76
  },
  "hsl": {
    "h": 146.949,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.13966,
    "h": 152.7
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#178D4C
secondary
#C04086
accent
#399DEF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #178D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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