#178A27#178A27

#178A27 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.167 H 144.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178A27
RGBrgb(23, 138, 39)
HSLhsl(128, 71%, 32%)
HSVhsv(128, 83%, 54%)
CMYKcmyk(83.3%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.10, -50.41, 42.47)
CIE-LCHlch(50.10, 65.92, 139.88°)
OKLaboklab(55.33% -0.1361 0.0972)
OKLCHoklch(55.33% 0.167 144.5)
XYZxyz(9.8074, 18.5044, 4.9739)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A27 #8A177A
analogous
#418A17 #178A27 #178A61
triadic
#178A27 #27178A #8A2717
tetradic
#178A27 #17418A #8A177A #8A6117
square
#178A27 #17418A #8A177A #8A6117
split-complementary
#178A27 #61178A #8A1741
monochromatic
#062109 #0E5618 #178A27 #20BE36 #3DDF53

Accessibility & contrast

On white

4.47
#178A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#178A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A27
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A27#FFFFFF#000000##000000
##178A271.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C18
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a27;
/* rgb */ color: rgb(23, 138, 39);
/* oklch */ color: oklch(55.3% 0.167 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cad67',
    500: '#178a27',
    950: '#000000',
  },
}
SCSS
$custom: #178a27;
$custom-light: #6cad67;
$custom-dark: #000000;
JSON
{
  "hex": "#178a27",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 128.348,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.16726,
    "h": 144.5
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#178A27
secondary
#BE3FAC
accent
#3AD5EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178A27

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

Preview Lab → · Contrast checker → · Palette generator →

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