#178D38#178D38

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

Color values

HEX#178D38
RGBrgb(23, 141, 56)
HSLhsl(137, 72%, 32%)
HSVhsv(137, 84%, 55%)
CMYKcmyk(83.7%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.29, -49.42, 36.08)
CIE-LCHlch(51.29, 61.19, 143.87°)
OKLaboklab(56.37% -0.1328 0.0854)
OKLCHoklch(56.37% 0.158 147.3)
XYZxyz(10.5912, 19.5161, 6.9494)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D38 #8D176C
analogous
#318D17 #178D38 #178D73
triadic
#178D38 #38178D #8D3817
tetradic
#178D38 #17318D #8D176C #8D7317
square
#178D38 #17318D #8D176C #8D7317
split-complementary
#178D38 #73178D #8D1731
monochromatic
#06240E #0E5823 #178D38 #20C24D #3FE06C

Accessibility & contrast

On white

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

On black

4.90
#178D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D38
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D38#FFFFFF#000000##000000
##178D381.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#82773F
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d38;
/* rgb */ color: rgb(23, 141, 56);
/* oklch */ color: oklch(56.4% 0.158 147.3);
Tailwind
colors: {
  custom: {
    50: '#6caf71',
    500: '#178d38',
    950: '#000000',
  },
}
SCSS
$custom: #178d38;
$custom-light: #6caf71;
$custom-dark: #000000;
JSON
{
  "hex": "#178d38",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 136.78,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.15788,
    "h": 147.3
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#178D38
secondary
#C0409C
accent
#39BCEF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178D38

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

Preview Lab → · Contrast checker → · Palette generator →

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