#178E27#178E27

#178E27 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.172 H 144.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#178E27
RGBrgb(23, 142, 39)
HSLhsl(128, 72%, 32%)
HSVhsv(128, 84%, 56%)
CMYKcmyk(83.8%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.47, -51.72, 43.90)
CIE-LCHlch(51.47, 67.84, 139.67°)
OKLaboklab(56.47% -0.1397 0.1002)
OKLCHoklch(56.47% 0.172 144.3)
XYZxyz(10.3918, 19.6734, 5.1687)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E27 #8E177E
analogous
#438E17 #178E27 #178E62
triadic
#178E27 #27178E #8E2717
tetradic
#178E27 #17438E #8E177E #8E6217
square
#178E27 #17438E #8E177E #8E6217
split-complementary
#178E27 #62178E #8E1743
monochromatic
#06250A #0E5919 #178E27 #20C335 #3FE055

Accessibility & contrast

On white

4.26
#178E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#178E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E27
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E27#FFFFFF#000000##000000
##178E271.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918017
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e27;
/* rgb */ color: rgb(23, 142, 39);
/* oklch */ color: oklch(56.5% 0.172 144.3);
Tailwind
colors: {
  custom: {
    50: '#6db067',
    500: '#178e27',
    950: '#000000',
  },
}
SCSS
$custom: #178e27;
$custom-light: #6db067;
$custom-dark: #000000;
JSON
{
  "hex": "#178e27",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 128.067,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56465,
    "c": 0.17191,
    "h": 144.3
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

primary
#178E27
secondary
#C040AF
accent
#39D6EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178E27

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

Preview Lab → · Contrast checker → · Palette generator →

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