#178C2F#178C2F

#178C2F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.164 H 145.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#178C2F
RGBrgb(23, 140, 47)
HSLhsl(132, 72%, 32%)
HSVhsv(132, 84%, 55%)
CMYKcmyk(83.6%, 0%, 66.4%, 45.1%)
CIE-LABlab(50.85, -50.22, 39.82)
CIE-LCHlch(50.85, 64.09, 141.58°)
OKLaboklab(55.98% -0.1352 0.0926)
OKLCHoklch(55.98% 0.164 145.6)
XYZxyz(10.2438, 19.1423, 5.8437)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C2F #8C1774
analogous
#398C17 #178C2F #178C6A
triadic
#178C2F #2F178C #8C2F17
tetradic
#178C2F #17398C #8C1774 #8C6A17
square
#178C2F #17398C #8C1774 #8C6A17
split-complementary
#178C2F #6A178C #8C1739
monochromatic
#06230C #0E571D #178C2F #20C141 #3EDF5F

Accessibility & contrast

On white

4.35
#178C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#178C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C2F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C2F#FFFFFF#000000##000000
##178C2F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c2f;
/* rgb */ color: rgb(23, 140, 47);
/* oklch */ color: oklch(56.0% 0.164 145.6);
Tailwind
colors: {
  custom: {
    50: '#6caf6c',
    500: '#178c2f',
    950: '#000000',
  },
}
SCSS
$custom: #178c2f;
$custom-light: #6caf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#178c2f",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 132.308,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.1639,
    "h": 145.6
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#178C2F
secondary
#BF3FA5
accent
#39C9EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #178C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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