#178D1C#178D1C

#178D1C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.177 H 143.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#178D1C
RGBrgb(23, 141, 28)
HSLhsl(123, 72%, 32%)
HSVhsv(123, 84%, 55%)
CMYKcmyk(83.7%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.05, -52.30, 47.53)
CIE-LCHlch(51.05, 70.67, 137.73°)
OKLaboklab(56.1% -0.1417 0.1063)
OKLCHoklch(56.1% 0.177 143.1)
XYZxyz(10.0872, 19.3145, 4.2948)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D1C #8D1788
analogous
#4D8D17 #178D1C #178D57
triadic
#178D1C #1C178D #8D1C17
tetradic
#178D1C #174D8D #8D1788 #8D5717
square
#178D1C #174D8D #8D1788 #8D5717
split-complementary
#178D1C #57178D #8D174D
monochromatic
#062407 #0E5812 #178D1C #20C226 #3FE046

Accessibility & contrast

On white

4.32
#178D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#178D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D1C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D1C#FFFFFF#000000##000000
##178D1C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d1c;
/* rgb */ color: rgb(23, 141, 28);
/* oklch */ color: oklch(56.1% 0.177 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#178d1c',
    950: '#000000',
  },
}
SCSS
$custom: #178d1c;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#178d1c",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 122.542,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56098,
    "c": 0.17715,
    "h": 143.1
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#178D1C
secondary
#C040BA
accent
#39E7EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #178D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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