#178D2F#178D2F

#178D2F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.165 H 145.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#178D2F
RGBrgb(23, 141, 47)
HSLhsl(132, 72%, 32%)
HSVhsv(132, 84%, 55%)
CMYKcmyk(83.7%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.19, -50.55, 40.20)
CIE-LCHlch(51.19, 64.59, 141.51°)
OKLaboklab(56.26% -0.1362 0.0934)
OKLCHoklch(56.26% 0.165 145.6)
XYZxyz(10.3906, 19.4359, 5.8926)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D2F #8D1775
analogous
#3A8D17 #178D2F #178D6A
triadic
#178D2F #2F178D #8D2F17
tetradic
#178D2F #173A8D #8D1775 #8D6A17
square
#178D2F #173A8D #8D1775 #8D6A17
split-complementary
#178D2F #6A178D #8D173A
monochromatic
#06240C #0E581D #178D2F #20C241 #3FE05F

Accessibility & contrast

On white

4.30
#178D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#178D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D2F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D2F#FFFFFF#000000##000000
##178D2F1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d2f;
/* rgb */ color: rgb(23, 141, 47);
/* oklch */ color: oklch(56.3% 0.165 145.6);
Tailwind
colors: {
  custom: {
    50: '#6caf6c',
    500: '#178d2f',
    950: '#000000',
  },
}
SCSS
$custom: #178d2f;
$custom-light: #6caf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#178d2f",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 132.203,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.16509,
    "h": 145.6
  },
  "luminance": 0.19437
}

Semantic roles & 50–950 ramp

primary
#178D2F
secondary
#C040A6
accent
#39CAEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #178D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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