#178E42#178E42

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

Color values

HEX#178E42
RGBrgb(23, 142, 66)
HSLhsl(142, 72%, 32%)
HSVhsv(142, 84%, 56%)
CMYKcmyk(83.8%, 0%, 53.5%, 44.3%)
CIE-LABlab(51.75, -48.28, 31.60)
CIE-LCHlch(51.75, 57.71, 146.79°)
OKLaboklab(56.79% -0.1296 0.0763)
OKLCHoklch(56.79% 0.15 149.5)
XYZxyz(11.0088, 19.9201, 8.4180)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E42 #8E1763
analogous
#278E17 #178E42 #178E7E
triadic
#178E42 #42178E #8E4217
tetradic
#178E42 #17278E #8E1763 #8E7E17
square
#178E42 #17278E #8E1763 #8E7E17
split-complementary
#178E42 #7E178E #8E1727
monochromatic
#062511 #0E592A #178E42 #20C35A #3FE079

Accessibility & contrast

On white

4.21
#178E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##178E42#FFFFFF#000000##000000
##178E421.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813B
Deuteranopia (green-blind)
#827848
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e42;
/* rgb */ color: rgb(23, 142, 66);
/* oklch */ color: oklch(56.8% 0.150 149.5);
Tailwind
colors: {
  custom: {
    50: '#6bb078',
    500: '#178e42',
    950: '#000000',
  },
}
SCSS
$custom: #178e42;
$custom-light: #6bb078;
$custom-dark: #000000;
JSON
{
  "hex": "#178e42",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 141.681,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.15035,
    "h": 149.5
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#178E42
secondary
#C04092
accent
#39ADEF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #178E42

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

Preview Lab → · Contrast checker → · Palette generator →

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