#178E31#178E31

#178E31 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.165 H 145.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#178E31
RGBrgb(23, 142, 49)
HSLhsl(133, 72%, 32%)
HSVhsv(133, 84%, 56%)
CMYKcmyk(83.8%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.55, -50.65, 39.69)
CIE-LCHlch(51.55, 64.35, 141.92°)
OKLaboklab(56.56% -0.1364 0.0925)
OKLCHoklch(56.56% 0.165 145.8)
XYZxyz(10.5799, 19.7486, 6.1594)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E31 #8E1774
analogous
#398E17 #178E31 #178E6C
triadic
#178E31 #31178E #8E3117
tetradic
#178E31 #17398E #8E1774 #8E6C17
square
#178E31 #17398E #8E1774 #8E6C17
split-complementary
#178E31 #6C178E #8E1739
monochromatic
#06250D #0E591F #178E31 #20C343 #3FE063

Accessibility & contrast

On white

4.24
#178E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#178E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E31
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E31#FFFFFF#000000##000000
##178E311.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#847739
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e31;
/* rgb */ color: rgb(23, 142, 49);
/* oklch */ color: oklch(56.6% 0.165 145.8);
Tailwind
colors: {
  custom: {
    50: '#6cb06d',
    500: '#178e31',
    950: '#000000',
  },
}
SCSS
$custom: #178e31;
$custom-light: #6cb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#178e31",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 133.109,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.16477,
    "h": 145.8
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

primary
#178E31
secondary
#C040A4
accent
#39C7EF
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #178E31

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

Preview Lab → · Contrast checker → · Palette generator →

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