#178C27#178C27

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

Color values

HEX#178C27
RGBrgb(23, 140, 39)
HSLhsl(128, 72%, 32%)
HSVhsv(128, 84%, 55%)
CMYKcmyk(83.6%, 0%, 72.1%, 45.1%)
CIE-LABlab(50.78, -51.06, 43.19)
CIE-LCHlch(50.78, 66.88, 139.77°)
OKLaboklab(55.9% -0.1379 0.0987)
OKLCHoklch(55.9% 0.17 144.4)
XYZxyz(10.0969, 19.0836, 5.0704)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C27 #8C177C
analogous
#428C17 #178C27 #178C62
triadic
#178C27 #27178C #8C2717
tetradic
#178C27 #17428C #8C177C #8C6217
square
#178C27 #17428C #8C177C #8C6217
split-complementary
#178C27 #62178C #8C1742
monochromatic
#06230A #0E5718 #178C27 #20C136 #3EDF54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C27#FFFFFF#000000##000000
##178C271.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)
#8F7E17
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c27;
/* rgb */ color: rgb(23, 140, 39);
/* oklch */ color: oklch(55.9% 0.170 144.4);
Tailwind
colors: {
  custom: {
    50: '#6caf67',
    500: '#178c27',
    950: '#000000',
  },
}
SCSS
$custom: #178c27;
$custom-light: #6caf67;
$custom-dark: #000000;
JSON
{
  "hex": "#178c27",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 128.205,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.16959,
    "h": 144.4
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#178C27
secondary
#BF3FAE
accent
#39D6EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C27

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

Preview Lab → · Contrast checker → · Palette generator →

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