#178D28#178D28

#178D28 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.170 H 144.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#178D28
RGBrgb(23, 141, 40)
HSLhsl(129, 72%, 32%)
HSVhsv(129, 84%, 55%)
CMYKcmyk(83.7%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.13, -51.29, 43.15)
CIE-LCHlch(51.13, 67.03, 139.93°)
OKLaboklab(56.19% -0.1385 0.0988)
OKLCHoklch(56.19% 0.17 144.5)
XYZxyz(10.2605, 19.3838, 5.2078)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D28 #8D177C
analogous
#418D17 #178D28 #178D63
triadic
#178D28 #28178D #8D2817
tetradic
#178D28 #17418D #8D177C #8D6317
square
#178D28 #17418D #8D177C #8D6317
split-complementary
#178D28 #63178D #8D1741
monochromatic
#06240A #0E5819 #178D28 #20C237 #3FE056

Accessibility & contrast

On white

4.31
#178D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#178D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D28
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D28#FFFFFF#000000##000000
##178D281.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d28;
/* rgb */ color: rgb(23, 141, 40);
/* oklch */ color: oklch(56.2% 0.170 144.5);
Tailwind
colors: {
  custom: {
    50: '#6caf68',
    500: '#178d28',
    950: '#000000',
  },
}
SCSS
$custom: #178d28;
$custom-light: #6caf68;
$custom-dark: #000000;
JSON
{
  "hex": "#178d28",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 128.644,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.17008,
    "h": 144.5
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#178D28
secondary
#C040AD
accent
#39D5EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D28

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

Preview Lab → · Contrast checker → · Palette generator →

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