#178E2B#178E2B

#178E2B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.169 H 144.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#178E2B
RGBrgb(23, 142, 43)
HSLhsl(130, 72%, 32%)
HSVhsv(130, 84%, 56%)
CMYKcmyk(83.8%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.50, -51.32, 42.28)
CIE-LCHlch(51.50, 66.49, 140.52°)
OKLaboklab(56.5% -0.1384 0.0973)
OKLCHoklch(56.5% 0.169 144.9)
XYZxyz(10.4616, 19.7013, 5.5364)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E2B #8E177A
analogous
#3F8E17 #178E2B #178E67
triadic
#178E2B #2B178E #8E2B17
tetradic
#178E2B #173F8E #8E177A #8E6717
square
#178E2B #173F8E #8E177A #8E6717
split-complementary
#178E2B #67178E #8E173F
monochromatic
#06250B #0E591B #178E2B #20C33B #3FE05A

Accessibility & contrast

On white

4.25
#178E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#178E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E2B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E2B#FFFFFF#000000##000000
##178E2B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e2b;
/* rgb */ color: rgb(23, 142, 43);
/* oklch */ color: oklch(56.5% 0.169 144.9);
Tailwind
colors: {
  custom: {
    50: '#6cb06a',
    500: '#178e2b',
    950: '#000000',
  },
}
SCSS
$custom: #178e2b;
$custom-light: #6cb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#178e2b",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 130.084,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.16919,
    "h": 144.9
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#178E2B
secondary
#C040AB
accent
#39D0EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #178E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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