#178D3B#178D3B

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

Color values

HEX#178D3B
RGBrgb(23, 141, 59)
HSLhsl(138, 72%, 32%)
HSVhsv(138, 84%, 55%)
CMYKcmyk(83.7%, 0%, 58.2%, 44.7%)
CIE-LABlab(51.32, -49.00, 34.65)
CIE-LCHlch(51.32, 60.01, 144.74°)
OKLaboklab(56.41% -0.1316 0.0825)
OKLCHoklch(56.41% 0.155 147.9)
XYZxyz(10.6668, 19.5464, 7.3475)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D3B #8D1769
analogous
#2E8D17 #178D3B #178D76
triadic
#178D3B #3B178D #8D3B17
tetradic
#178D3B #172E8D #8D1769 #8D7617
square
#178D3B #172E8D #8D1769 #8D7617
split-complementary
#178D3B #76178D #8D172E
monochromatic
#06240F #0E5825 #178D3B #20C251 #3FE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178D3B#FFFFFF#000000##000000
##178D3B1.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)
#8F8033
Deuteranopia (green-blind)
#827742
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d3b;
/* rgb */ color: rgb(23, 141, 59);
/* oklch */ color: oklch(56.4% 0.155 147.9);
Tailwind
colors: {
  custom: {
    50: '#6baf73',
    500: '#178d3b',
    950: '#000000',
  },
}
SCSS
$custom: #178d3b;
$custom-light: #6baf73;
$custom-dark: #000000;
JSON
{
  "hex": "#178d3b",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 59
  },
  "hsl": {
    "h": 138.305,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.15531,
    "h": 147.9
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#178D3B
secondary
#C04099
accent
#39B7EF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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