#178A26#178A26

#178A26 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.168 H 144.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178A26
RGBrgb(23, 138, 38)
HSLhsl(128, 71%, 32%)
HSVhsv(128, 83%, 54%)
CMYKcmyk(83.3%, 0%, 72.5%, 45.9%)
CIE-LABlab(50.09, -50.50, 42.88)
CIE-LCHlch(50.09, 66.25, 139.67°)
OKLaboklab(55.32% -0.1364 0.0979)
OKLCHoklch(55.32% 0.168 144.3)
XYZxyz(9.7910, 18.4979, 4.8878)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A26 #8A177B
analogous
#428A17 #178A26 #178A60
triadic
#178A26 #26178A #8A2617
tetradic
#178A26 #17428A #8A177B #8A6017
square
#178A26 #17428A #8A177B #8A6017
split-complementary
#178A26 #60178A #8A1742
monochromatic
#062109 #0E5618 #178A26 #20BE34 #3DDF52

Accessibility & contrast

On white

4.47
#178A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#178A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A26
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A26#FFFFFF#000000##000000
##178A261.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C16
Deuteranopia (green-blind)
#807430
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a26;
/* rgb */ color: rgb(23, 138, 38);
/* oklch */ color: oklch(55.3% 0.168 144.3);
Tailwind
colors: {
  custom: {
    50: '#6cad66',
    500: '#178a26',
    950: '#000000',
  },
}
SCSS
$custom: #178a26;
$custom-light: #6cad66;
$custom-dark: #000000;
JSON
{
  "hex": "#178a26",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 127.826,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55321,
    "c": 0.16793,
    "h": 144.3
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#178A26
secondary
#BE3FAD
accent
#3AD7EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178A26

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

Preview Lab → · Contrast checker → · Palette generator →

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