#178E26#178E26

#178E26 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.173 H 144.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#178E26
RGBrgb(23, 142, 38)
HSLhsl(128, 72%, 32%)
HSVhsv(128, 84%, 56%)
CMYKcmyk(83.8%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.46, -51.81, 44.30)
CIE-LCHlch(51.46, 68.16, 139.47°)
OKLaboklab(56.46% -0.14 0.1009)
OKLCHoklch(56.46% 0.173 144.2)
XYZxyz(10.3755, 19.6668, 5.0826)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E26 #8E177F
analogous
#448E17 #178E26 #178E62
triadic
#178E26 #26178E #8E2617
tetradic
#178E26 #17448E #8E177F #8E6217
square
#178E26 #17448E #8E177F #8E6217
split-complementary
#178E26 #62178E #8E1744
monochromatic
#06250A #0E5918 #178E26 #20C334 #3FE054

Accessibility & contrast

On white

4.26
#178E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#178E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E26
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E26#FFFFFF#000000##000000
##178E261.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e26;
/* rgb */ color: rgb(23, 142, 38);
/* oklch */ color: oklch(56.5% 0.173 144.2);
Tailwind
colors: {
  custom: {
    50: '#6db067',
    500: '#178e26',
    950: '#000000',
  },
}
SCSS
$custom: #178e26;
$custom-light: #6db067;
$custom-dark: #000000;
JSON
{
  "hex": "#178e26",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 127.563,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.17254,
    "h": 144.2
  },
  "luminance": 0.19668
}

Semantic roles & 50–950 ramp

primary
#178E26
secondary
#C040B0
accent
#39D8EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178E26

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

Preview Lab → · Contrast checker → · Palette generator →

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