#178E40#178E40

#178E40 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.152 H 149.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#178E40
RGBrgb(23, 142, 64)
HSLhsl(141, 72%, 32%)
HSVhsv(141, 84%, 56%)
CMYKcmyk(83.8%, 0%, 54.9%, 44.3%)
CIE-LABlab(51.72, -48.60, 32.60)
CIE-LCHlch(51.72, 58.52, 146.15°)
OKLaboklab(56.76% -0.1304 0.0784)
OKLCHoklch(56.76% 0.152 149)
XYZxyz(10.9508, 19.8970, 8.1128)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E40 #8E1765
analogous
#2A8E17 #178E40 #178E7B
triadic
#178E40 #40178E #8E4017
tetradic
#178E40 #172A8E #8E1765 #8E7B17
square
#178E40 #172A8E #8E1765 #8E7B17
split-complementary
#178E40 #7B178E #8E172A
monochromatic
#062511 #0E5928 #178E40 #20C358 #3FE077

Accessibility & contrast

On white

4.22
#178E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#178E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E40
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E40#FFFFFF#000000##000000
##178E401.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e40;
/* rgb */ color: rgb(23, 142, 64);
/* oklch */ color: oklch(56.8% 0.152 149.0);
Tailwind
colors: {
  custom: {
    50: '#6cb077',
    500: '#178e40',
    950: '#000000',
  },
}
SCSS
$custom: #178e40;
$custom-light: #6cb077;
$custom-dark: #000000;
JSON
{
  "hex": "#178e40",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 140.672,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.15215,
    "h": 149
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#178E40
secondary
#C04094
accent
#39B0EF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #178E40

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

Preview Lab → · Contrast checker → · Palette generator →

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