#178A18#178A18

#178A18 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.176 H 142.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#178A18
RGBrgb(23, 138, 24)
HSLhsl(121, 71%, 32%)
HSVhsv(121, 83%, 54%)
CMYKcmyk(83.3%, 0%, 82.6%, 45.9%)
CIE-LABlab(50.01, -51.61, 47.80)
CIE-LCHlch(50.01, 70.34, 137.19°)
OKLaboklab(55.22% -0.14 0.1063)
OKLCHoklch(55.22% 0.176 142.8)
XYZxyz(9.6061, 18.4239, 3.9139)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A18 #8A1789
analogous
#508A17 #178A18 #178A52
triadic
#178A18 #18178A #8A1817
tetradic
#178A18 #17508A #8A1789 #8A5217
square
#178A18 #17508A #8A1789 #8A5217
split-complementary
#178A18 #52178A #8A1750
monochromatic
#062106 #0E560F #178A18 #20BE21 #3DDF3E

Accessibility & contrast

On white

4.48
#178A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#178A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A18
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A18#FFFFFF#000000##000000
##178A181.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a18;
/* rgb */ color: rgb(23, 138, 24);
/* oklch */ color: oklch(55.2% 0.176 142.8);
Tailwind
colors: {
  custom: {
    50: '#6cad60',
    500: '#178a18',
    950: '#000000',
  },
}
SCSS
$custom: #178a18;
$custom-light: #6cad60;
$custom-dark: #000000;
JSON
{
  "hex": "#178a18",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 120.522,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.17579,
    "h": 142.8
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#178A18
secondary
#BE3FBD
accent
#3AEDEE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178A18

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

Preview Lab → · Contrast checker → · Palette generator →

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