#178B2A#178B2A

#178B2A is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.166 H 144.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#178B2A
RGBrgb(23, 139, 42)
HSLhsl(130, 72%, 32%)
HSVhsv(130, 83%, 55%)
CMYKcmyk(83.5%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.47, -50.43, 41.60)
CIE-LCHlch(50.47, 65.38, 140.48°)
OKLaboklab(55.64% -0.136 0.0958)
OKLCHoklch(55.64% 0.166 144.9)
XYZxyz(10.0032, 18.8133, 5.2942)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B2A #8B1778
analogous
#3E8B17 #178B2A #178B64
triadic
#178B2A #2A178B #8B2A17
tetradic
#178B2A #173E8B #8B1778 #8B6417
square
#178B2A #173E8B #8B1778 #8B6417
split-complementary
#178B2A #64178B #8B173E
monochromatic
#06220A #0E561A #178B2A #20C03A #3DDF58

Accessibility & contrast

On white

4.41
#178B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#178B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B2A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B2A#FFFFFF#000000##000000
##178B2A1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b2a;
/* rgb */ color: rgb(23, 139, 42);
/* oklch */ color: oklch(55.6% 0.166 144.9);
Tailwind
colors: {
  custom: {
    50: '#6cae69',
    500: '#178b2a',
    950: '#000000',
  },
}
SCSS
$custom: #178b2a;
$custom-light: #6cae69;
$custom-dark: #000000;
JSON
{
  "hex": "#178b2a",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 129.828,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.16637,
    "h": 144.9
  },
  "luminance": 0.18815
}

Semantic roles & 50–950 ramp

primary
#178B2A
secondary
#BF3FAA
accent
#39D1EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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