#178F27#178F27

#178F27 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.173 H 144.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178F27
RGBrgb(23, 143, 39)
HSLhsl(128, 72%, 33%)
HSVhsv(128, 84%, 56%)
CMYKcmyk(83.9%, 0%, 72.7%, 43.9%)
CIE-LABlab(51.81, -52.04, 44.26)
CIE-LCHlch(51.81, 68.31, 139.62°)
OKLaboklab(56.75% -0.1405 0.101)
OKLCHoklch(56.75% 0.173 144.3)
XYZxyz(10.5413, 19.9723, 5.2185)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F27 #8F177F
analogous
#438F17 #178F27 #178F63
triadic
#178F27 #27178F #8F2717
tetradic
#178F27 #17438F #8F177F #8F6317
square
#178F27 #17438F #8F177F #8F6317
split-complementary
#178F27 #63178F #8F1743
monochromatic
#06260A #0F5A19 #178F27 #1FC435 #40E055

Accessibility & contrast

On white

4.20
#178F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#178F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F27
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F27#FFFFFF#000000##000000
##178F271.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f27;
/* rgb */ color: rgb(23, 143, 39);
/* oklch */ color: oklch(56.7% 0.173 144.3);
Tailwind
colors: {
  custom: {
    50: '#6db167',
    500: '#178f27',
    950: '#000000',
  },
}
SCSS
$custom: #178f27;
$custom-light: #6db167;
$custom-dark: #000000;
JSON
{
  "hex": "#178f27",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 128,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56747,
    "c": 0.17305,
    "h": 144.3
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#178F27
secondary
#C141B0
accent
#39D7EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178F27

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

Preview Lab → · Contrast checker → · Palette generator →

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