#178D26#178D26

#178D26 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.171 H 144.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#178D26
RGBrgb(23, 141, 38)
HSLhsl(128, 72%, 32%)
HSVhsv(128, 84%, 55%)
CMYKcmyk(83.7%, 0%, 73%, 44.7%)
CIE-LABlab(51.12, -51.48, 43.94)
CIE-LCHlch(51.12, 67.69, 139.52°)
OKLaboklab(56.17% -0.1391 0.1002)
OKLCHoklch(56.17% 0.171 144.2)
XYZxyz(10.2274, 19.3706, 5.0332)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D26 #8D177E
analogous
#438D17 #178D26 #178D61
triadic
#178D26 #26178D #8D2617
tetradic
#178D26 #17438D #8D177E #8D6117
square
#178D26 #17438D #8D177E #8D6117
split-complementary
#178D26 #61178D #8D1743
monochromatic
#06240A #0E5818 #178D26 #20C234 #3FE053

Accessibility & contrast

On white

4.31
#178D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#178D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D26
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D26#FFFFFF#000000##000000
##178D261.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d26;
/* rgb */ color: rgb(23, 141, 38);
/* oklch */ color: oklch(56.2% 0.171 144.2);
Tailwind
colors: {
  custom: {
    50: '#6caf67',
    500: '#178d26',
    950: '#000000',
  },
}
SCSS
$custom: #178d26;
$custom-light: #6caf67;
$custom-dark: #000000;
JSON
{
  "hex": "#178d26",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 127.627,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56173,
    "c": 0.1714,
    "h": 144.2
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

primary
#178D26
secondary
#C040B0
accent
#39D8EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D26

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

Preview Lab → · Contrast checker → · Palette generator →

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