#178E2F#178E2F

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

Color values

HEX#178E2F
RGBrgb(23, 142, 47)
HSLhsl(132, 72%, 32%)
HSVhsv(132, 84%, 56%)
CMYKcmyk(83.8%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.53, -50.88, 40.57)
CIE-LCHlch(51.53, 65.08, 141.43°)
OKLaboklab(56.54% -0.1371 0.0942)
OKLCHoklch(56.54% 0.166 145.5)
XYZxyz(10.5387, 19.7321, 5.9420)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E2F #8E1776
analogous
#3A8E17 #178E2F #178E6B
triadic
#178E2F #2F178E #8E2F17
tetradic
#178E2F #173A8E #8E1776 #8E6B17
square
#178E2F #173A8E #8E1776 #8E6B17
split-complementary
#178E2F #6B178E #8E173A
monochromatic
#06250C #0E591E #178E2F #20C340 #3FE060

Accessibility & contrast

On white

4.25
#178E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#178E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E2F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E2F#FFFFFF#000000##000000
##178E2F1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #178e2f;
/* rgb */ color: rgb(23, 142, 47);
/* oklch */ color: oklch(56.5% 0.166 145.5);
Tailwind
colors: {
  custom: {
    50: '#6cb06c',
    500: '#178e2f',
    950: '#000000',
  },
}
SCSS
$custom: #178e2f;
$custom-light: #6cb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#178e2f",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 132.101,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.1663,
    "h": 145.5
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#178E2F
secondary
#C040A7
accent
#39CAEF
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #178E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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