#178D39#178D39

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

Color values

HEX#178D39
RGBrgb(23, 141, 57)
HSLhsl(137, 72%, 32%)
HSVhsv(137, 84%, 55%)
CMYKcmyk(83.7%, 0%, 59.6%, 44.7%)
CIE-LABlab(51.30, -49.28, 35.61)
CIE-LCHlch(51.30, 60.80, 144.15°)
OKLaboklab(56.38% -0.1324 0.0845)
OKLCHoklch(56.38% 0.157 147.5)
XYZxyz(10.6159, 19.5260, 7.0795)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D39 #8D176B
analogous
#308D17 #178D39 #178D74
triadic
#178D39 #39178D #8D3917
tetradic
#178D39 #17308D #8D176B #8D7417
square
#178D39 #17308D #8D176B #8D7417
split-complementary
#178D39 #74178D #8D1730
monochromatic
#06240E #0E5824 #178D39 #20C24E #3FE06D

Accessibility & contrast

On white

4.28
#178D39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#178D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D39
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D39#FFFFFF#000000##000000
##178D391.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8031
Deuteranopia (green-blind)
#827740
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d39;
/* rgb */ color: rgb(23, 141, 57);
/* oklch */ color: oklch(56.4% 0.157 147.5);
Tailwind
colors: {
  custom: {
    50: '#6caf72',
    500: '#178d39',
    950: '#000000',
  },
}
SCSS
$custom: #178d39;
$custom-light: #6caf72;
$custom-dark: #000000;
JSON
{
  "hex": "#178d39",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 137.288,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56379,
    "c": 0.15704,
    "h": 147.5
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#178D39
secondary
#C0409B
accent
#39BAEF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178D39

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

Preview Lab → · Contrast checker → · Palette generator →

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