#178A1A#178A1A

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

Color values

HEX#178A1A
RGBrgb(23, 138, 26)
HSLhsl(122, 71%, 32%)
HSVhsv(122, 83%, 54%)
CMYKcmyk(83.3%, 0%, 81.2%, 45.9%)
CIE-LABlab(50.02, -51.48, 47.18)
CIE-LCHlch(50.02, 69.83, 137.49°)
OKLaboklab(55.23% -0.1396 0.1053)
OKLCHoklch(55.23% 0.175 143)
XYZxyz(9.6277, 18.4325, 4.0275)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A1A #8A1787
analogous
#4E8A17 #178A1A #178A54
triadic
#178A1A #1A178A #8A1A17
tetradic
#178A1A #174E8A #8A1787 #8A5417
square
#178A1A #174E8A #8A1787 #8A5417
split-complementary
#178A1A #54178A #8A174E
monochromatic
#062106 #0E5610 #178A1A #20BE24 #3DDF41

Accessibility & contrast

On white

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

On black

4.69
#178A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A1A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A1A#FFFFFF#000000##000000
##178A1A1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #178a1a;
/* rgb */ color: rgb(23, 138, 26);
/* oklch */ color: oklch(55.2% 0.175 143.0);
Tailwind
colors: {
  custom: {
    50: '#6cad60',
    500: '#178a1a',
    950: '#000000',
  },
}
SCSS
$custom: #178a1a;
$custom-light: #6cad60;
$custom-dark: #000000;
JSON
{
  "hex": "#178a1a",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 121.565,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.17484,
    "h": 143
  },
  "luminance": 0.18434
}

Semantic roles & 50–950 ramp

primary
#178A1A
secondary
#BE3FBA
accent
#3AE9EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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