#178D27#178D27

#178D27 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.171 H 144.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#178D27
RGBrgb(23, 141, 39)
HSLhsl(128, 72%, 32%)
HSVhsv(128, 84%, 55%)
CMYKcmyk(83.7%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.13, -51.39, 43.55)
CIE-LCHlch(51.13, 67.36, 139.72°)
OKLaboklab(56.18% -0.1388 0.0995)
OKLCHoklch(56.18% 0.171 144.4)
XYZxyz(10.2437, 19.3771, 5.1193)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D27 #8D177D
analogous
#428D17 #178D27 #178D62
triadic
#178D27 #27178D #8D2717
tetradic
#178D27 #17428D #8D177D #8D6217
square
#178D27 #17428D #8D177D #8D6217
split-complementary
#178D27 #62178D #8D1742
monochromatic
#06240A #0E5818 #178D27 #20C236 #3FE055

Accessibility & contrast

On white

4.31
#178D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#178D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D27
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D27#FFFFFF#000000##000000
##178D271.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d27;
/* rgb */ color: rgb(23, 141, 39);
/* oklch */ color: oklch(56.2% 0.171 144.4);
Tailwind
colors: {
  custom: {
    50: '#6caf67',
    500: '#178d27',
    950: '#000000',
  },
}
SCSS
$custom: #178d27;
$custom-light: #6caf67;
$custom-dark: #000000;
JSON
{
  "hex": "#178d27",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 128.136,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.17075,
    "h": 144.4
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#178D27
secondary
#C040AF
accent
#39D6EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D27

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

Preview Lab → · Contrast checker → · Palette generator →

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