#178E39#178E39

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

Color values

HEX#178E39
RGBrgb(23, 142, 57)
HSLhsl(137, 72%, 32%)
HSVhsv(137, 84%, 56%)
CMYKcmyk(83.8%, 0%, 59.9%, 44.3%)
CIE-LABlab(51.64, -49.63, 36.00)
CIE-LCHlch(51.64, 61.31, 144.04°)
OKLaboklab(56.66% -0.1333 0.0853)
OKLCHoklch(56.66% 0.158 147.4)
XYZxyz(10.7640, 19.8222, 7.1289)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E39 #8E176C
analogous
#308E17 #178E39 #178E75
triadic
#178E39 #39178E #8E3917
tetradic
#178E39 #17308E #8E176C #8E7517
square
#178E39 #17308E #8E176C #8E7517
split-complementary
#178E39 #75178E #8E1730
monochromatic
#06250F #0E5924 #178E39 #20C34E #3FE06D

Accessibility & contrast

On white

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

On black

4.96
#178E39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E39
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E39#FFFFFF#000000##000000
##178E391.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908130
Deuteranopia (green-blind)
#837840
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e39;
/* rgb */ color: rgb(23, 142, 57);
/* oklch */ color: oklch(56.7% 0.158 147.4);
Tailwind
colors: {
  custom: {
    50: '#6cb072',
    500: '#178e39',
    950: '#000000',
  },
}
SCSS
$custom: #178e39;
$custom-light: #6cb072;
$custom-dark: #000000;
JSON
{
  "hex": "#178e39",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 137.143,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5666,
    "c": 0.15829,
    "h": 147.4
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

primary
#178E39
secondary
#C0409C
accent
#39BBEF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178E39

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

Preview Lab → · Contrast checker → · Palette generator →

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