#178C28#178C28

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

Color values

HEX#178C28
RGBrgb(23, 140, 40)
HSLhsl(129, 72%, 32%)
HSVhsv(129, 84%, 55%)
CMYKcmyk(83.6%, 0%, 71.4%, 45.1%)
CIE-LABlab(50.79, -50.97, 42.79)
CIE-LCHlch(50.79, 66.55, 139.98°)
OKLaboklab(55.91% -0.1376 0.098)
OKLCHoklch(55.91% 0.169 144.5)
XYZxyz(10.1137, 19.0903, 5.1588)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C28 #8C177B
analogous
#418C17 #178C28 #178C63
triadic
#178C28 #28178C #8C2817
tetradic
#178C28 #17418C #8C177B #8C6317
square
#178C28 #17418C #8C177B #8C6317
split-complementary
#178C28 #63178C #8C1741
monochromatic
#06230A #0E5719 #178C28 #20C137 #3EDF56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C28#FFFFFF#000000##000000
##178C281.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)
#8F7E19
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c28;
/* rgb */ color: rgb(23, 140, 40);
/* oklch */ color: oklch(55.9% 0.169 144.5);
Tailwind
colors: {
  custom: {
    50: '#6caf68',
    500: '#178c28',
    950: '#000000',
  },
}
SCSS
$custom: #178c28;
$custom-light: #6caf68;
$custom-dark: #000000;
JSON
{
  "hex": "#178c28",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 128.718,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55907,
    "c": 0.16892,
    "h": 144.5
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#178C28
secondary
#BF3FAD
accent
#39D4EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C28

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

Preview Lab → · Contrast checker → · Palette generator →

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