#178C26#178C26

#178C26 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.170 H 144.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#178C26
RGBrgb(23, 140, 38)
HSLhsl(128, 72%, 32%)
HSVhsv(128, 84%, 55%)
CMYKcmyk(83.6%, 0%, 72.9%, 45.1%)
CIE-LABlab(50.78, -51.16, 43.59)
CIE-LCHlch(50.78, 67.21, 139.57°)
OKLaboklab(55.89% -0.1382 0.0994)
OKLCHoklch(55.89% 0.17 144.3)
XYZxyz(10.0806, 19.0770, 4.9843)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C26 #8C177D
analogous
#438C17 #178C26 #178C61
triadic
#178C26 #26178C #8C2617
tetradic
#178C26 #17438C #8C177D #8C6117
square
#178C26 #17438C #8C177D #8C6117
split-complementary
#178C26 #61178C #8C1743
monochromatic
#062309 #0E5718 #178C26 #20C134 #3EDF53

Accessibility & contrast

On white

4.36
#178C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#178C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C26
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C26#FFFFFF#000000##000000
##178C261.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E15
Deuteranopia (green-blind)
#827630
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c26;
/* rgb */ color: rgb(23, 140, 38);
/* oklch */ color: oklch(55.9% 0.170 144.3);
Tailwind
colors: {
  custom: {
    50: '#6caf67',
    500: '#178c26',
    950: '#000000',
  },
}
SCSS
$custom: #178c26;
$custom-light: #6caf67;
$custom-dark: #000000;
JSON
{
  "hex": "#178c26",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 127.692,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.17024,
    "h": 144.3
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#178C26
secondary
#BF3FAF
accent
#39D7EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C26

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

Preview Lab → · Contrast checker → · Palette generator →

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