#178B2B#178B2B

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

Color values

HEX#178B2B
RGBrgb(23, 139, 43)
HSLhsl(130, 72%, 32%)
HSVhsv(130, 83%, 55%)
CMYKcmyk(83.5%, 0%, 69.1%, 45.5%)
CIE-LABlab(50.48, -50.33, 41.18)
CIE-LCHlch(50.48, 65.03, 140.71°)
OKLaboklab(55.65% -0.1357 0.095)
OKLCHoklch(55.65% 0.166 145)
XYZxyz(10.0213, 18.8206, 5.3896)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B2B #8B1777
analogous
#3D8B17 #178B2B #178B65
triadic
#178B2B #2B178B #8B2B17
tetradic
#178B2B #173D8B #8B1777 #8B6517
square
#178B2B #173D8B #8B1777 #8B6517
split-complementary
#178B2B #65178B #8B173D
monochromatic
#06220B #0E561B #178B2B #20C03B #3DDF59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178B2B#FFFFFF#000000##000000
##178B2B1.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)
#8D7D1E
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b2b;
/* rgb */ color: rgb(23, 139, 43);
/* oklch */ color: oklch(55.7% 0.166 145.0);
Tailwind
colors: {
  custom: {
    50: '#6cae69',
    500: '#178b2b',
    950: '#000000',
  },
}
SCSS
$custom: #178b2b;
$custom-light: #6cae69;
$custom-dark: #000000;
JSON
{
  "hex": "#178b2b",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 130.345,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.16566,
    "h": 145
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#178B2B
secondary
#BF3FA9
accent
#39CFEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #178B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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