#178E3A#178E3A

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

Color values

HEX#178E3A
RGBrgb(23, 142, 58)
HSLhsl(138, 72%, 32%)
HSVhsv(138, 84%, 56%)
CMYKcmyk(83.8%, 0%, 59.2%, 44.3%)
CIE-LABlab(51.65, -49.49, 35.53)
CIE-LCHlch(51.65, 60.92, 144.33°)
OKLaboklab(56.67% -0.1329 0.0844)
OKLCHoklch(56.67% 0.157 147.6)
XYZxyz(10.7892, 19.8323, 7.2616)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E3A #8E176B
analogous
#308E17 #178E3A #178E75
triadic
#178E3A #3A178E #8E3A17
tetradic
#178E3A #17308E #8E176B #8E7517
square
#178E3A #17308E #8E176B #8E7517
split-complementary
#178E3A #75178E #8E1730
monochromatic
#06250F #0E5924 #178E3A #20C350 #3FE06F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178E3A#FFFFFF#000000##000000
##178E3A1.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)
#908132
Deuteranopia (green-blind)
#837841
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e3a;
/* rgb */ color: rgb(23, 142, 58);
/* oklch */ color: oklch(56.7% 0.157 147.6);
Tailwind
colors: {
  custom: {
    50: '#6cb073',
    500: '#178e3a',
    950: '#000000',
  },
}
SCSS
$custom: #178e3a;
$custom-light: #6cb073;
$custom-dark: #000000;
JSON
{
  "hex": "#178e3a",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 58
  },
  "hsl": {
    "h": 137.647,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.15743,
    "h": 147.6
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#178E3A
secondary
#C0409B
accent
#39B9EF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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