#178C4D#178C4D

#178C4D is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.137 H 153.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#178C4D
RGBrgb(23, 140, 77)
HSLhsl(148, 72%, 32%)
HSVhsv(148, 84%, 55%)
CMYKcmyk(83.6%, 0%, 45%, 45.1%)
CIE-LABlab(51.24, -45.63, 25.11)
CIE-LCHlch(51.24, 52.08, 151.18°)
OKLaboklab(56.42% -0.1226 0.062)
OKLCHoklch(56.42% 0.137 153.2)
XYZxyz(11.0699, 19.4728, 10.1949)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C4D #8C1756
analogous
#1C8C17 #178C4D #178C88
triadic
#178C4D #4D178C #8C4D17
tetradic
#178C4D #171C8C #8C1756 #8C8817
square
#178C4D #171C8C #8C1756 #8C8817
split-complementary
#178C4D #88178C #8C171C
monochromatic
#062313 #0E5730 #178C4D #20C16A #3EDF88

Accessibility & contrast

On white

4.29
#178C4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#178C4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C4D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C4D#FFFFFF#000000##000000
##178C4D1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8048
Deuteranopia (green-blind)
#7F7651
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178c4d;
/* rgb */ color: rgb(23, 140, 77);
/* oklch */ color: oklch(56.4% 0.137 153.2);
Tailwind
colors: {
  custom: {
    50: '#6baf7f',
    500: '#178c4d',
    950: '#000000',
  },
}
SCSS
$custom: #178c4d;
$custom-light: #6baf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#178c4d",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 77
  },
  "hsl": {
    "h": 147.692,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56418,
    "c": 0.13737,
    "h": 153.2
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#178C4D
secondary
#BF3F84
accent
#399BEF
background
#F6FAF7
surface
#ECF5EE
border
#C7CFC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #178C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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