#178D24#178D24

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

Color values

HEX#178D24
RGBrgb(23, 141, 36)
HSLhsl(127, 72%, 32%)
HSVhsv(127, 84%, 55%)
CMYKcmyk(83.7%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.10, -51.66, 44.71)
CIE-LCHlch(51.10, 68.33, 139.13°)
OKLaboklab(56.16% -0.1397 0.1015)
OKLCHoklch(56.16% 0.173 144)
XYZxyz(10.1960, 19.3580, 4.8678)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D24 #8D1780
analogous
#458D17 #178D24 #178D5F
triadic
#178D24 #24178D #8D2417
tetradic
#178D24 #17458D #8D1780 #8D5F17
square
#178D24 #17458D #8D1780 #8D5F17
split-complementary
#178D24 #5F178D #8D1745
monochromatic
#062409 #0E5817 #178D24 #20C231 #3FE050

Accessibility & contrast

On white

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

On black

4.87
#178D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D24
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D24#FFFFFF#000000##000000
##178D241.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d24;
/* rgb */ color: rgb(23, 141, 36);
/* oklch */ color: oklch(56.2% 0.173 144.0);
Tailwind
colors: {
  custom: {
    50: '#6daf66',
    500: '#178d24',
    950: '#000000',
  },
}
SCSS
$custom: #178d24;
$custom-light: #6daf66;
$custom-dark: #000000;
JSON
{
  "hex": "#178d24",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 126.61,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.17266,
    "h": 144
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#178D24
secondary
#C040B2
accent
#39DBEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D24

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

Preview Lab → · Contrast checker → · Palette generator →

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