#178D3A#178D3A

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

Color values

HEX#178D3A
RGBrgb(23, 141, 58)
HSLhsl(138, 72%, 32%)
HSVhsv(138, 84%, 55%)
CMYKcmyk(83.7%, 0%, 58.9%, 44.7%)
CIE-LABlab(51.31, -49.14, 35.13)
CIE-LCHlch(51.31, 60.40, 144.44°)
OKLaboklab(56.39% -0.132 0.0835)
OKLCHoklch(56.39% 0.156 147.7)
XYZxyz(10.6411, 19.5361, 7.2122)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D3A #8D176A
analogous
#2F8D17 #178D3A #178D75
triadic
#178D3A #3A178D #8D3A17
tetradic
#178D3A #172F8D #8D176A #8D7517
square
#178D3A #172F8D #8D176A #8D7517
split-complementary
#178D3A #75178D #8D172F
monochromatic
#06240F #0E5824 #178D3A #20C250 #3FE06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178D3A#FFFFFF#000000##000000
##178D3A1.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)
#8F8032
Deuteranopia (green-blind)
#827741
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d3a;
/* rgb */ color: rgb(23, 141, 58);
/* oklch */ color: oklch(56.4% 0.156 147.7);
Tailwind
colors: {
  custom: {
    50: '#6caf73',
    500: '#178d3a',
    950: '#000000',
  },
}
SCSS
$custom: #178d3a;
$custom-light: #6caf73;
$custom-dark: #000000;
JSON
{
  "hex": "#178d3a",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 58
  },
  "hsl": {
    "h": 137.797,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.15617,
    "h": 147.7
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#178D3A
secondary
#C0409A
accent
#39B9EF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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