#178E38#178E38

#178E38 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.159 H 147.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#178E38
RGBrgb(23, 142, 56)
HSLhsl(137, 72%, 32%)
HSVhsv(137, 84%, 56%)
CMYKcmyk(83.8%, 0%, 60.6%, 44.3%)
CIE-LABlab(51.62, -49.76, 36.48)
CIE-LCHlch(51.62, 61.70, 143.76°)
OKLaboklab(56.65% -0.1337 0.0863)
OKLCHoklch(56.65% 0.159 147.2)
XYZxyz(10.7393, 19.8124, 6.9988)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E38 #8E176D
analogous
#318E17 #178E38 #178E74
triadic
#178E38 #38178E #8E3817
tetradic
#178E38 #17318E #8E176D #8E7417
square
#178E38 #17318E #8E176D #8E7417
split-complementary
#178E38 #74178E #8E1731
monochromatic
#06250E #0E5923 #178E38 #20C34D #3FE06C

Accessibility & contrast

On white

4.23
#178E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#178E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E38
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E38#FFFFFF#000000##000000
##178E381.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802F
Deuteranopia (green-blind)
#83783F
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e38;
/* rgb */ color: rgb(23, 142, 56);
/* oklch */ color: oklch(56.6% 0.159 147.2);
Tailwind
colors: {
  custom: {
    50: '#6cb071',
    500: '#178e38',
    950: '#000000',
  },
}
SCSS
$custom: #178e38;
$custom-light: #6cb071;
$custom-dark: #000000;
JSON
{
  "hex": "#178e38",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 136.639,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.15913,
    "h": 147.2
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#178E38
secondary
#C0409D
accent
#39BCEF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178E38

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

Preview Lab → · Contrast checker → · Palette generator →

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