#178D19#178D19

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

Color values

HEX#178D19
RGBrgb(23, 141, 25)
HSLhsl(121, 72%, 32%)
HSVhsv(121, 84%, 55%)
CMYKcmyk(83.7%, 0%, 82.3%, 44.7%)
CIE-LABlab(51.04, -52.50, 48.46)
CIE-LCHlch(51.04, 71.45, 137.29°)
OKLaboklab(56.08% -0.1424 0.1078)
OKLCHoklch(56.08% 0.179 142.9)
XYZxyz(10.0530, 19.3009, 4.1151)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D19 #8D178B
analogous
#508D17 #178D19 #178D54
triadic
#178D19 #19178D #8D1917
tetradic
#178D19 #17508D #8D178B #8D5417
square
#178D19 #17508D #8D178B #8D5417
split-complementary
#178D19 #54178D #8D1750
monochromatic
#062406 #0E5810 #178D19 #20C222 #3FE041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178D19#FFFFFF#000000##000000
##178D191.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)
#847628
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d19;
/* rgb */ color: rgb(23, 141, 25);
/* oklch */ color: oklch(56.1% 0.179 142.9);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#178d19',
    950: '#000000',
  },
}
SCSS
$custom: #178d19;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#178d19",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 121.017,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.17861,
    "h": 142.9
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#178D19
secondary
#C040BE
accent
#39ECEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #178D19

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

Preview Lab → · Contrast checker → · Palette generator →

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