#178B27#178B27

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

Color values

HEX#178B27
RGBrgb(23, 139, 39)
HSLhsl(128, 72%, 32%)
HSVhsv(128, 83%, 55%)
CMYKcmyk(83.5%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.44, -50.74, 42.83)
CIE-LCHlch(50.44, 66.40, 139.83°)
OKLaboklab(55.61% -0.137 0.098)
OKLCHoklch(55.61% 0.168 144.4)
XYZxyz(9.9515, 18.7927, 5.0219)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B27 #8B177B
analogous
#418B17 #178B27 #178B61
triadic
#178B27 #27178B #8B2717
tetradic
#178B27 #17418B #8B177B #8B6117
square
#178B27 #17418B #8B177B #8B6117
split-complementary
#178B27 #61178B #8B1741
monochromatic
#06220A #0E5618 #178B27 #20C036 #3DDF54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178B27#FFFFFF#000000##000000
##178B271.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)
#8E7D18
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b27;
/* rgb */ color: rgb(23, 139, 39);
/* oklch */ color: oklch(55.6% 0.168 144.4);
Tailwind
colors: {
  custom: {
    50: '#6cae67',
    500: '#178b27',
    950: '#000000',
  },
}
SCSS
$custom: #178b27;
$custom-light: #6cae67;
$custom-dark: #000000;
JSON
{
  "hex": "#178b27",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 128.276,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.16843,
    "h": 144.4
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#178B27
secondary
#BF3FAD
accent
#39D5EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B27

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

Preview Lab → · Contrast checker → · Palette generator →

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