#178D3D#178D3D

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

Color values

HEX#178D3D
RGBrgb(23, 141, 61)
HSLhsl(139, 72%, 32%)
HSVhsv(139, 84%, 55%)
CMYKcmyk(83.7%, 0%, 56.7%, 44.7%)
CIE-LABlab(51.34, -48.70, 33.67)
CIE-LCHlch(51.34, 59.21, 145.34°)
OKLaboklab(56.43% -0.1307 0.0805)
OKLCHoklch(56.43% 0.154 148.4)
XYZxyz(10.7197, 19.5675, 7.6259)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D3D #8D1767
analogous
#2C8D17 #178D3D #178D78
triadic
#178D3D #3D178D #8D3D17
tetradic
#178D3D #172C8D #8D1767 #8D7817
square
#178D3D #172C8D #8D1767 #8D7817
split-complementary
#178D3D #78178D #8D172C
monochromatic
#06240F #0E5826 #178D3D #20C254 #3FE073

Accessibility & contrast

On white

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

On black

4.91
#178D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D3D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D3D#FFFFFF#000000##000000
##178D3D1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #178d3d;
/* rgb */ color: rgb(23, 141, 61);
/* oklch */ color: oklch(56.4% 0.154 148.4);
Tailwind
colors: {
  custom: {
    50: '#6baf75',
    500: '#178d3d',
    950: '#000000',
  },
}
SCSS
$custom: #178d3d;
$custom-light: #6baf75;
$custom-dark: #000000;
JSON
{
  "hex": "#178d3d",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 139.322,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56434,
    "c": 0.15355,
    "h": 148.4
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#178D3D
secondary
#C04097
accent
#39B4EF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #178D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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