#178C1A#178C1A

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

Color values

HEX#178C1A
RGBrgb(23, 140, 26)
HSLhsl(122, 72%, 32%)
HSVhsv(122, 84%, 55%)
CMYKcmyk(83.6%, 0%, 81.4%, 45.1%)
CIE-LABlab(50.70, -52.11, 47.84)
CIE-LCHlch(50.70, 70.74, 137.45°)
OKLaboklab(55.8% -0.1413 0.1066)
OKLCHoklch(55.8% 0.177 143)
XYZxyz(9.9172, 19.0117, 4.1240)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C1A #8C1789
analogous
#4F8C17 #178C1A #178C54
triadic
#178C1A #1A178C #8C1A17
tetradic
#178C1A #174F8C #8C1789 #8C5417
square
#178C1A #174F8C #8C1789 #8C5417
split-complementary
#178C1A #54178C #8C174F
monochromatic
#062306 #0E5710 #178C1A #20C124 #3EDF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C1A#FFFFFF#000000##000000
##178C1A1.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)
#837528
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c1a;
/* rgb */ color: rgb(23, 140, 26);
/* oklch */ color: oklch(55.8% 0.177 143.0);
Tailwind
colors: {
  custom: {
    50: '#6daf61',
    500: '#178c1a',
    950: '#000000',
  },
}
SCSS
$custom: #178c1a;
$custom-light: #6daf61;
$custom-dark: #000000;
JSON
{
  "hex": "#178c1a",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 121.538,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.17704,
    "h": 143
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#178C1A
secondary
#BF3FBC
accent
#39EAEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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