#178E1D#178E1D

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

Color values

HEX#178E1D
RGBrgb(23, 142, 29)
HSLhsl(123, 72%, 32%)
HSVhsv(123, 84%, 56%)
CMYKcmyk(83.8%, 0%, 79.6%, 44.3%)
CIE-LABlab(51.40, -52.54, 47.53)
CIE-LCHlch(51.40, 70.85, 137.87°)
OKLaboklab(56.39% -0.1424 0.1064)
OKLCHoklch(56.39% 0.178 143.2)
XYZxyz(10.2474, 19.6156, 4.4083)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E1D #8E1788
analogous
#4D8E17 #178E1D #178E58
triadic
#178E1D #1D178E #8E1D17
tetradic
#178E1D #174D8E #8E1788 #8E5817
square
#178E1D #174D8E #8E1788 #8E5817
split-complementary
#178E1D #58178E #8E174D
monochromatic
#062507 #0E5912 #178E1D #20C328 #3FE048

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178E1D#FFFFFF#000000##000000
##178E1D1.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)
#85772A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178e1d;
/* rgb */ color: rgb(23, 142, 29);
/* oklch */ color: oklch(56.4% 0.178 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#178e1d',
    950: '#000000',
  },
}
SCSS
$custom: #178e1d;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#178e1d",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 123.025,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.17775,
    "h": 143.2
  },
  "luminance": 0.19617
}

Semantic roles & 50–950 ramp

primary
#178E1D
secondary
#C040BA
accent
#39E6EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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