#178D3E#178D3E

#178D3E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.153 H 148.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#178D3E
RGBrgb(23, 141, 62)
HSLhsl(140, 72%, 32%)
HSVhsv(140, 84%, 55%)
CMYKcmyk(83.7%, 0%, 56%, 44.7%)
CIE-LABlab(51.36, -48.55, 33.18)
CIE-LCHlch(51.36, 58.81, 145.65°)
OKLaboklab(56.45% -0.1303 0.0795)
OKLCHoklch(56.45% 0.153 148.6)
XYZxyz(10.7468, 19.5784, 7.7691)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D3E #8D1766
analogous
#2B8D17 #178D3E #178D79
triadic
#178D3E #3E178D #8D3E17
tetradic
#178D3E #172B8D #8D1766 #8D7917
square
#178D3E #172B8D #8D1766 #8D7917
split-complementary
#178D3E #79178D #8D172B
monochromatic
#062410 #0E5827 #178D3E #20C255 #3FE074

Accessibility & contrast

On white

4.27
#178D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#178D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D3E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D3E#FFFFFF#000000##000000
##178D3E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8037
Deuteranopia (green-blind)
#827744
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d3e;
/* rgb */ color: rgb(23, 141, 62);
/* oklch */ color: oklch(56.4% 0.153 148.6);
Tailwind
colors: {
  custom: {
    50: '#6baf75',
    500: '#178d3e',
    950: '#000000',
  },
}
SCSS
$custom: #178d3e;
$custom-light: #6baf75;
$custom-dark: #000000;
JSON
{
  "hex": "#178d3e",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 139.831,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.15266,
    "h": 148.6
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#178D3E
secondary
#C04096
accent
#39B3EF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #178D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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