#178B2C#178B2C

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

Color values

HEX#178B2C
RGBrgb(23, 139, 44)
HSLhsl(131, 72%, 32%)
HSVhsv(131, 83%, 55%)
CMYKcmyk(83.5%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.49, -50.22, 40.75)
CIE-LCHlch(50.49, 64.67, 140.94°)
OKLaboklab(55.66% -0.1354 0.0942)
OKLCHoklch(55.66% 0.165 145.2)
XYZxyz(10.0399, 18.8280, 5.4874)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B2C #8B1776
analogous
#3C8B17 #178B2C #178B66
triadic
#178B2C #2C178B #8B2C17
tetradic
#178B2C #173C8B #8B1776 #8B6617
square
#178B2C #173C8B #8B1776 #8B6617
split-complementary
#178B2C #66178B #8B173C
monochromatic
#06220B #0E561B #178B2C #20C03D #3DDF5B

Accessibility & contrast

On white

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

On black

4.77
#178B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B2C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B2C#FFFFFF#000000##000000
##178B2C1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1F
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b2c;
/* rgb */ color: rgb(23, 139, 44);
/* oklch */ color: oklch(55.7% 0.165 145.2);
Tailwind
colors: {
  custom: {
    50: '#6cae6a',
    500: '#178b2c',
    950: '#000000',
  },
}
SCSS
$custom: #178b2c;
$custom-light: #6cae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#178b2c",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 130.862,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.16493,
    "h": 145.2
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#178B2C
secondary
#BF3FA7
accent
#39CEEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #178B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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