#178D2E#178D2E

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

Color values

HEX#178D2E
RGBrgb(23, 141, 46)
HSLhsl(132, 72%, 32%)
HSVhsv(132, 84%, 55%)
CMYKcmyk(83.7%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.18, -50.66, 40.64)
CIE-LCHlch(51.18, 64.95, 141.27°)
OKLaboklab(56.25% -0.1365 0.0942)
OKLCHoklch(56.25% 0.166 145.4)
XYZxyz(10.3706, 19.4279, 5.7876)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D2E #8D1776
analogous
#3B8D17 #178D2E #178D69
triadic
#178D2E #2E178D #8D2E17
tetradic
#178D2E #173B8D #8D1776 #8D6917
square
#178D2E #173B8D #8D1776 #8D6917
split-complementary
#178D2E #69178D #8D173B
monochromatic
#06240C #0E581D #178D2E #20C23F #3FE05E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178D2E#FFFFFF#000000##000000
##178D2E1.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)
#8F7F22
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d2e;
/* rgb */ color: rgb(23, 141, 46);
/* oklch */ color: oklch(56.2% 0.166 145.4);
Tailwind
colors: {
  custom: {
    50: '#6caf6b',
    500: '#178d2e',
    950: '#000000',
  },
}
SCSS
$custom: #178d2e;
$custom-light: #6caf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#178d2e",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 131.695,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56249,
    "c": 0.16585,
    "h": 145.4
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#178D2E
secondary
#C040A7
accent
#39CBEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #178D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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