#178C1C#178C1C

#178C1C is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.176 H 143.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#178C1C
RGBrgb(23, 140, 28)
HSLhsl(123, 72%, 32%)
HSVhsv(123, 84%, 55%)
CMYKcmyk(83.6%, 0%, 80%, 45.1%)
CIE-LABlab(50.71, -51.98, 47.20)
CIE-LCHlch(50.71, 70.21, 137.76°)
OKLaboklab(55.81% -0.1409 0.1056)
OKLCHoklch(55.81% 0.176 143.1)
XYZxyz(9.9404, 19.0209, 4.2459)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C1C #8C1787
analogous
#4D8C17 #178C1C #178C57
triadic
#178C1C #1C178C #8C1C17
tetradic
#178C1C #174D8C #8C1787 #8C5717
square
#178C1C #174D8C #8C1787 #8C5717
split-complementary
#178C1C #57178C #8C174D
monochromatic
#062307 #0E5711 #178C1C #20C127 #3EDF45

Accessibility & contrast

On white

4.37
#178C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#178C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C1C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C1C#FFFFFF#000000##000000
##178C1C1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c1c;
/* rgb */ color: rgb(23, 140, 28);
/* oklch */ color: oklch(55.8% 0.176 143.1);
Tailwind
colors: {
  custom: {
    50: '#6daf62',
    500: '#178c1c',
    950: '#000000',
  },
}
SCSS
$custom: #178c1c;
$custom-light: #6daf62;
$custom-dark: #000000;
JSON
{
  "hex": "#178c1c",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 122.564,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.17606,
    "h": 143.1
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#178C1C
secondary
#BF3FBA
accent
#39E7EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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