#178B28#178B28

#178B28 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.168 H 144.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#178B28
RGBrgb(23, 139, 40)
HSLhsl(129, 72%, 32%)
HSVhsv(129, 83%, 55%)
CMYKcmyk(83.5%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.45, -50.64, 42.43)
CIE-LCHlch(50.45, 66.06, 140.04°)
OKLaboklab(55.62% -0.1367 0.0973)
OKLCHoklch(55.62% 0.168 144.6)
XYZxyz(9.9683, 18.7994, 5.1103)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B28 #8B177A
analogous
#408B17 #178B28 #178B62
triadic
#178B28 #28178B #8B2817
tetradic
#178B28 #17408B #8B177A #8B6217
square
#178B28 #17408B #8B177A #8B6217
split-complementary
#178B28 #62178B #8B1740
monochromatic
#06220A #0E5619 #178B28 #20C037 #3DDF55

Accessibility & contrast

On white

4.41
#178B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#178B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B28
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B28#FFFFFF#000000##000000
##178B281.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b28;
/* rgb */ color: rgb(23, 139, 40);
/* oklch */ color: oklch(55.6% 0.168 144.6);
Tailwind
colors: {
  custom: {
    50: '#6cae68',
    500: '#178b28',
    950: '#000000',
  },
}
SCSS
$custom: #178b28;
$custom-light: #6cae68;
$custom-dark: #000000;
JSON
{
  "hex": "#178b28",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 128.793,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.16775,
    "h": 144.6
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#178B28
secondary
#BF3FAC
accent
#39D4EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B28

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

Preview Lab → · Contrast checker → · Palette generator →

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