#178D1D#178D1D

#178D1D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.177 H 143.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#178D1D
RGBrgb(23, 141, 29)
HSLhsl(123, 72%, 32%)
HSVhsv(123, 84%, 55%)
CMYKcmyk(83.7%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.06, -52.23, 47.20)
CIE-LCHlch(51.06, 70.39, 137.89°)
OKLaboklab(56.11% -0.1415 0.1057)
OKLCHoklch(56.11% 0.177 143.2)
XYZxyz(10.0993, 19.3194, 4.3589)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D1D #8D1787
analogous
#4C8D17 #178D1D #178D58
triadic
#178D1D #1D178D #8D1D17
tetradic
#178D1D #174C8D #8D1787 #8D5817
square
#178D1D #174C8D #8D1787 #8D5817
split-complementary
#178D1D #58178D #8D174C
monochromatic
#062407 #0E5812 #178D1D #20C228 #3FE047

Accessibility & contrast

On white

4.32
#178D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#178D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D1D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D1D#FFFFFF#000000##000000
##178D1D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d1d;
/* rgb */ color: rgb(23, 141, 29);
/* oklch */ color: oklch(56.1% 0.177 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#178d1d',
    950: '#000000',
  },
}
SCSS
$custom: #178d1d;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#178d1d",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 123.051,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.17664,
    "h": 143.2
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#178D1D
secondary
#C040B9
accent
#39E5EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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