#178C24#178C24

#178C24 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.172 H 144.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#178C24
RGBrgb(23, 140, 36)
HSLhsl(127, 72%, 32%)
HSVhsv(127, 84%, 55%)
CMYKcmyk(83.6%, 0%, 74.3%, 45.1%)
CIE-LABlab(50.76, -51.34, 44.36)
CIE-LCHlch(50.76, 67.85, 139.17°)
OKLaboklab(55.87% -0.1388 0.1008)
OKLCHoklch(55.87% 0.172 144)
XYZxyz(10.0492, 19.0645, 4.8189)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C24 #8C177F
analogous
#448C17 #178C24 #178C5F
triadic
#178C24 #24178C #8C2417
tetradic
#178C24 #17448C #8C177F #8C5F17
square
#178C24 #17448C #8C177F #8C5F17
split-complementary
#178C24 #5F178C #8C1744
monochromatic
#062309 #0E5716 #178C24 #20C132 #3EDF50

Accessibility & contrast

On white

4.36
#178C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C24#FFFFFF#000000##000000
##178C241.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#82762F
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c24;
/* rgb */ color: rgb(23, 140, 36);
/* oklch */ color: oklch(55.9% 0.172 144.0);
Tailwind
colors: {
  custom: {
    50: '#6caf65',
    500: '#178c24',
    950: '#000000',
  },
}
SCSS
$custom: #178c24;
$custom-light: #6caf65;
$custom-dark: #000000;
JSON
{
  "hex": "#178c24",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 126.667,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55872,
    "c": 0.17152,
    "h": 144
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#178C24
secondary
#BF3FB1
accent
#39DAEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C24

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

Preview Lab → · Contrast checker → · Palette generator →

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