#178D18#178D18

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

Color values

HEX#178D18
RGBrgb(23, 141, 24)
HSLhsl(121, 72%, 32%)
HSVhsv(121, 84%, 55%)
CMYKcmyk(83.7%, 0%, 83%, 44.7%)
CIE-LABlab(51.03, -52.56, 48.76)
CIE-LCHlch(51.03, 71.69, 137.15°)
OKLaboklab(56.07% -0.1426 0.1083)
OKLCHoklch(56.07% 0.179 142.8)
XYZxyz(10.0425, 19.2966, 4.0593)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D18 #8D178C
analogous
#518D17 #178D18 #178D53
triadic
#178D18 #18178D #8D1817
tetradic
#178D18 #17518D #8D178C #8D5317
square
#178D18 #17518D #8D178C #8D5317
split-complementary
#178D18 #53178D #8D1751
monochromatic
#062406 #0E580F #178D18 #20C221 #3FE040

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #178d18;
/* rgb */ color: rgb(23, 141, 24);
/* oklch */ color: oklch(56.1% 0.179 142.8);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#178d18',
    950: '#000000',
  },
}
SCSS
$custom: #178d18;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#178d18",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 120.508,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.17906,
    "h": 142.8
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#178D18
secondary
#C040BF
accent
#39EDEF
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081105
muted
#7B8079

Preview Lab

Preview with #178D18

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

Preview Lab → · Contrast checker → · Palette generator →

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