#178C4C#178C4C

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

Color values

HEX#178C4C
RGBrgb(23, 140, 76)
HSLhsl(147, 72%, 32%)
HSVhsv(147, 84%, 55%)
CMYKcmyk(83.6%, 0%, 45.7%, 45.1%)
CIE-LABlab(51.22, -45.82, 25.63)
CIE-LCHlch(51.22, 52.50, 150.78°)
OKLaboklab(56.4% -0.1231 0.0631)
OKLCHoklch(56.4% 0.138 152.8)
XYZxyz(11.0349, 19.4588, 10.0104)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C4C #8C1757
analogous
#1D8C17 #178C4C #178C86
triadic
#178C4C #4C178C #8C4C17
tetradic
#178C4C #171D8C #8C1757 #8C8617
square
#178C4C #171D8C #8C1757 #8C8617
split-complementary
#178C4C #86178C #8C171D
monochromatic
#062313 #0E572F #178C4C #20C169 #3EDF87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C4C#FFFFFF#000000##000000
##178C4C1.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)
#8C8047
Deuteranopia (green-blind)
#7F7650
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178c4c;
/* rgb */ color: rgb(23, 140, 76);
/* oklch */ color: oklch(56.4% 0.138 152.8);
Tailwind
colors: {
  custom: {
    50: '#6baf7f',
    500: '#178c4c',
    950: '#000000',
  },
}
SCSS
$custom: #178c4c;
$custom-light: #6baf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#178c4c",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 76
  },
  "hsl": {
    "h": 147.179,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.564,
    "c": 0.13833,
    "h": 152.8
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

primary
#178C4C
secondary
#BF3F85
accent
#399CEF
background
#F6FAF7
surface
#ECF5EE
border
#C7CFC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #178C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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