#178E18#178E18

#178E18 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.180 H 142.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#178E18
RGBrgb(23, 142, 24)
HSLhsl(121, 72%, 32%)
HSVhsv(121, 84%, 56%)
CMYKcmyk(83.8%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.37, -52.87, 49.08)
CIE-LCHlch(51.37, 72.14, 137.13°)
OKLaboklab(56.36% -0.1435 0.109)
OKLCHoklch(56.36% 0.18 142.8)
XYZxyz(10.1906, 19.5929, 4.1087)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E18 #8E178D
analogous
#528E17 #178E18 #178E53
triadic
#178E18 #18178E #8E1817
tetradic
#178E18 #17528E #8E178D #8E5317
square
#178E18 #17528E #8E178D #8E5317
split-complementary
#178E18 #53178E #8E1752
monochromatic
#062506 #0E590F #178E18 #20C321 #3FE041

Accessibility & contrast

On white

4.27
#178E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#178E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E18#FFFFFF#000000##000000
##178E181.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178e18;
/* rgb */ color: rgb(23, 142, 24);
/* oklch */ color: oklch(56.4% 0.180 142.8);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#178e18',
    950: '#000000',
  },
}
SCSS
$custom: #178e18;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#178e18",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 120.504,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.18015,
    "h": 142.8
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#178E18
secondary
#C040BF
accent
#39EDEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #178E18

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

Preview Lab → · Contrast checker → · Palette generator →

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