#178C18#178C18

#178C18 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.178 H 142.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#178C18
RGBrgb(23, 140, 24)
HSLhsl(121, 72%, 32%)
HSVhsv(121, 84%, 55%)
CMYKcmyk(83.6%, 0%, 82.9%, 45.1%)
CIE-LABlab(50.69, -52.24, 48.44)
CIE-LCHlch(50.69, 71.24, 137.16°)
OKLaboklab(55.79% -0.1417 0.1076)
OKLCHoklch(55.79% 0.178 142.8)
XYZxyz(9.8957, 19.0031, 4.0104)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C18 #8C178B
analogous
#518C17 #178C18 #178C53
triadic
#178C18 #18178C #8C1817
tetradic
#178C18 #17518C #8C178B #8C5317
square
#178C18 #17518C #8C178B #8C5317
split-complementary
#178C18 #53178C #8C1751
monochromatic
#062306 #0E570F #178C18 #20C121 #3EDF3F

Accessibility & contrast

On white

4.37
#178C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#178C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C18
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C18#FFFFFF#000000##000000
##178C181.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c18;
/* rgb */ color: rgb(23, 140, 24);
/* oklch */ color: oklch(55.8% 0.178 142.8);
Tailwind
colors: {
  custom: {
    50: '#6daf60',
    500: '#178c18',
    950: '#000000',
  },
}
SCSS
$custom: #178c18;
$custom-light: #6daf60;
$custom-dark: #000000;
JSON
{
  "hex": "#178c18",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 120.513,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.17798,
    "h": 142.8
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#178C18
secondary
#BF3FBE
accent
#39EDEF
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178C18

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

Preview Lab → · Contrast checker → · Palette generator →

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