#178D3C#178D3C

#178D3C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.154 H 148.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#178D3C
RGBrgb(23, 141, 60)
HSLhsl(139, 72%, 32%)
HSVhsv(139, 84%, 55%)
CMYKcmyk(83.7%, 0%, 57.4%, 44.7%)
CIE-LABlab(51.33, -48.85, 34.16)
CIE-LCHlch(51.33, 59.61, 145.04°)
OKLaboklab(56.42% -0.1312 0.0815)
OKLCHoklch(56.42% 0.154 148.1)
XYZxyz(10.6930, 19.5568, 7.4854)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D3C #8D1768
analogous
#2D8D17 #178D3C #178D77
triadic
#178D3C #3C178D #8D3C17
tetradic
#178D3C #172D8D #8D1768 #8D7717
square
#178D3C #172D8D #8D1768 #8D7717
split-complementary
#178D3C #77178D #8D172D
monochromatic
#06240F #0E5826 #178D3C #20C252 #3FE071

Accessibility & contrast

On white

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

On black

4.91
#178D3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D3C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D3C#FFFFFF#000000##000000
##178D3C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8034
Deuteranopia (green-blind)
#827742
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d3c;
/* rgb */ color: rgb(23, 141, 60);
/* oklch */ color: oklch(56.4% 0.154 148.1);
Tailwind
colors: {
  custom: {
    50: '#6baf74',
    500: '#178d3c',
    950: '#000000',
  },
}
SCSS
$custom: #178d3c;
$custom-light: #6baf74;
$custom-dark: #000000;
JSON
{
  "hex": "#178d3c",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 60
  },
  "hsl": {
    "h": 138.814,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.15444,
    "h": 148.1
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#178D3C
secondary
#C04098
accent
#39B6EF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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