#178C1D#178C1D

#178C1D is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.176 H 143.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#178C1D
RGBrgb(23, 140, 29)
HSLhsl(123, 72%, 32%)
HSVhsv(123, 84%, 55%)
CMYKcmyk(83.6%, 0%, 79.3%, 45.1%)
CIE-LABlab(50.72, -51.91, 46.87)
CIE-LCHlch(50.72, 69.94, 137.92°)
OKLaboklab(55.82% -0.1406 0.1051)
OKLCHoklch(55.82% 0.176 143.2)
XYZxyz(9.9525, 19.0258, 4.3100)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C1D #8C1786
analogous
#4C8C17 #178C1D #178C58
triadic
#178C1D #1D178C #8C1D17
tetradic
#178C1D #174C8C #8C1786 #8C5817
square
#178C1D #174C8C #8C1786 #8C5817
split-complementary
#178C1D #58178C #8C174C
monochromatic
#062307 #0E5712 #178C1D #20C128 #3EDF46

Accessibility & contrast

On white

4.37
#178C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#178C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C1D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C1D#FFFFFF#000000##000000
##178C1D1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c1d;
/* rgb */ color: rgb(23, 140, 29);
/* oklch */ color: oklch(55.8% 0.176 143.2);
Tailwind
colors: {
  custom: {
    50: '#6daf62',
    500: '#178c1d',
    950: '#000000',
  },
}
SCSS
$custom: #178c1d;
$custom-light: #6daf62;
$custom-dark: #000000;
JSON
{
  "hex": "#178c1d",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 123.077,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.17553,
    "h": 143.2
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#178C1D
secondary
#BF3FB9
accent
#39E5EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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