#178E3B#178E3B

#178E3B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.157 H 147.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#178E3B
RGBrgb(23, 142, 59)
HSLhsl(138, 72%, 32%)
HSVhsv(138, 84%, 56%)
CMYKcmyk(83.8%, 0%, 58.5%, 44.3%)
CIE-LABlab(51.66, -49.34, 35.05)
CIE-LCHlch(51.66, 60.52, 144.62°)
OKLaboklab(56.69% -0.1325 0.0834)
OKLCHoklch(56.69% 0.157 147.8)
XYZxyz(10.8149, 19.8426, 7.3968)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E3B #8E176A
analogous
#2F8E17 #178E3B #178E76
triadic
#178E3B #3B178E #8E3B17
tetradic
#178E3B #172F8E #8E176A #8E7617
square
#178E3B #172F8E #8E176A #8E7617
split-complementary
#178E3B #76178E #8E172F
monochromatic
#06250F #0E5925 #178E3B #20C351 #3FE070

Accessibility & contrast

On white

4.23
#178E3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#178E3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E3B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E3B#FFFFFF#000000##000000
##178E3B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908133
Deuteranopia (green-blind)
#837842
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e3b;
/* rgb */ color: rgb(23, 142, 59);
/* oklch */ color: oklch(56.7% 0.157 147.8);
Tailwind
colors: {
  custom: {
    50: '#6cb073',
    500: '#178e3b',
    950: '#000000',
  },
}
SCSS
$custom: #178e3b;
$custom-light: #6cb073;
$custom-dark: #000000;
JSON
{
  "hex": "#178e3b",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 59
  },
  "hsl": {
    "h": 138.151,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56687,
    "c": 0.15657,
    "h": 147.8
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#178E3B
secondary
#C0409A
accent
#39B8EF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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