#178C31#178C31

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

Color values

HEX#178C31
RGBrgb(23, 140, 49)
HSLhsl(133, 72%, 32%)
HSVhsv(133, 84%, 55%)
CMYKcmyk(83.6%, 0%, 65%, 45.1%)
CIE-LABlab(50.87, -49.98, 38.93)
CIE-LCHlch(50.87, 63.35, 142.08°)
OKLaboklab(56% -0.1345 0.0909)
OKLCHoklch(56% 0.162 146)
XYZxyz(10.2850, 19.1588, 6.0611)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C31 #8C1772
analogous
#388C17 #178C31 #178C6C
triadic
#178C31 #31178C #8C3117
tetradic
#178C31 #17388C #8C1772 #8C6C17
square
#178C31 #17388C #8C1772 #8C6C17
split-complementary
#178C31 #6C178C #8C1738
monochromatic
#06230C #0E571F #178C31 #20C143 #3EDF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C31#FFFFFF#000000##000000
##178C311.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)
#8E7E26
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c31;
/* rgb */ color: rgb(23, 140, 49);
/* oklch */ color: oklch(56.0% 0.162 146.0);
Tailwind
colors: {
  custom: {
    50: '#6caf6d',
    500: '#178c31',
    950: '#000000',
  },
}
SCSS
$custom: #178c31;
$custom-light: #6caf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#178c31",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 133.333,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55999,
    "c": 0.16235,
    "h": 146
  },
  "luminance": 0.1916
}

Semantic roles & 50–950 ramp

primary
#178C31
secondary
#BF3FA3
accent
#39C6EF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #178C31

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

Preview Lab → · Contrast checker → · Palette generator →

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