#178C4F#178C4F

#178C4F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.135 H 153.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#178C4F
RGBrgb(23, 140, 79)
HSLhsl(149, 72%, 32%)
HSVhsv(149, 84%, 55%)
CMYKcmyk(83.6%, 0%, 43.6%, 45.1%)
CIE-LABlab(51.27, -45.25, 24.05)
CIE-LCHlch(51.27, 51.25, 152.00°)
OKLaboklab(56.46% -0.1216 0.0596)
OKLCHoklch(56.46% 0.135 153.9)
XYZxyz(11.1416, 19.5015, 10.5726)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C4F #8C1754
analogous
#1A8C17 #178C4F #178C8A
triadic
#178C4F #4F178C #8C4F17
tetradic
#178C4F #171A8C #8C1754 #8C8A17
square
#178C4F #171A8C #8C1754 #8C8A17
split-complementary
#178C4F #8A178C #8C171A
monochromatic
#062314 #0E5731 #178C4F #20C16D #3EDF8B

Accessibility & contrast

On white

4.29
#178C4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#178C4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C4F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C4F#FFFFFF#000000##000000
##178C4F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804B
Deuteranopia (green-blind)
#7F7653
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178c4f;
/* rgb */ color: rgb(23, 140, 79);
/* oklch */ color: oklch(56.5% 0.135 153.9);
Tailwind
colors: {
  custom: {
    50: '#6baf81',
    500: '#178c4f',
    950: '#000000',
  },
}
SCSS
$custom: #178c4f;
$custom-light: #6baf81;
$custom-dark: #000000;
JSON
{
  "hex": "#178c4f",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 79
  },
  "hsl": {
    "h": 148.718,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.13545,
    "h": 153.9
  },
  "luminance": 0.19503
}

Semantic roles & 50–950 ramp

primary
#178C4F
secondary
#BF3F82
accent
#3998EF
background
#F6FAF7
surface
#ECF5EE
border
#C7CFC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #178C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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