#178E3C#178E3C

#178E3C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.156 H 148.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#178E3C
RGBrgb(23, 142, 60)
HSLhsl(139, 72%, 32%)
HSVhsv(139, 84%, 56%)
CMYKcmyk(83.8%, 0%, 57.7%, 44.3%)
CIE-LABlab(51.67, -49.20, 34.56)
CIE-LCHlch(51.67, 60.13, 144.91°)
OKLaboklab(56.7% -0.1321 0.0824)
OKLCHoklch(56.7% 0.156 148)
XYZxyz(10.8411, 19.8531, 7.5347)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E3C #8E1769
analogous
#2E8E17 #178E3C #178E77
triadic
#178E3C #3C178E #8E3C17
tetradic
#178E3C #172E8E #8E1769 #8E7717
square
#178E3C #172E8E #8E1769 #8E7717
split-complementary
#178E3C #77178E #8E172E
monochromatic
#06250F #0E5926 #178E3C #20C352 #3FE071

Accessibility & contrast

On white

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

On black

4.97
#178E3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E3C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E3C#FFFFFF#000000##000000
##178E3C1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #178e3c;
/* rgb */ color: rgb(23, 142, 60);
/* oklch */ color: oklch(56.7% 0.156 148.0);
Tailwind
colors: {
  custom: {
    50: '#6cb074',
    500: '#178e3c',
    950: '#000000',
  },
}
SCSS
$custom: #178e3c;
$custom-light: #6cb074;
$custom-dark: #000000;
JSON
{
  "hex": "#178e3c",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 60
  },
  "hsl": {
    "h": 138.655,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.1557,
    "h": 148
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#178E3C
secondary
#C04099
accent
#39B6EF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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