#178E1B#178E1B

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

Color values

HEX#178E1B
RGBrgb(23, 142, 27)
HSLhsl(122, 72%, 32%)
HSVhsv(122, 84%, 56%)
CMYKcmyk(83.8%, 0%, 81%, 44.3%)
CIE-LABlab(51.39, -52.68, 48.17)
CIE-LCHlch(51.39, 71.39, 137.56°)
OKLaboklab(56.38% -0.1428 0.1075)
OKLCHoklch(56.38% 0.179 143)
XYZxyz(10.2235, 19.6060, 4.2822)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E1B #8E178A
analogous
#4E8E17 #178E1B #178E57
triadic
#178E1B #1B178E #8E1B17
tetradic
#178E1B #174E8E #8E178A #8E5717
square
#178E1B #174E8E #8E178A #8E5717
split-complementary
#178E1B #57178E #8E174E
monochromatic
#062507 #0E5911 #178E1B #20C325 #3FE045

Accessibility & contrast

On white

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

On black

4.92
#178E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E1B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E1B#FFFFFF#000000##000000
##178E1B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178e1b;
/* rgb */ color: rgb(23, 142, 27);
/* oklch */ color: oklch(56.4% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#6db061',
    500: '#178e1b',
    950: '#000000',
  },
}
SCSS
$custom: #178e1b;
$custom-light: #6db061;
$custom-dark: #000000;
JSON
{
  "hex": "#178e1b",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 122.017,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.17875,
    "h": 143
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#178E1B
secondary
#C040BC
accent
#39E9EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #178E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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