#178E1C#178E1C

#178E1C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.178 H 143.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#178E1C
RGBrgb(23, 142, 28)
HSLhsl(123, 72%, 32%)
HSVhsv(123, 84%, 56%)
CMYKcmyk(83.8%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.39, -52.61, 47.86)
CIE-LCHlch(51.39, 71.12, 137.71°)
OKLaboklab(56.38% -0.1426 0.107)
OKLCHoklch(56.38% 0.178 143.1)
XYZxyz(10.2353, 19.6107, 4.3442)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E1C #8E1789
analogous
#4E8E17 #178E1C #178E58
triadic
#178E1C #1C178E #8E1C17
tetradic
#178E1C #174E8E #8E1789 #8E5817
square
#178E1C #174E8E #8E1789 #8E5817
split-complementary
#178E1C #58178E #8E174E
monochromatic
#062507 #0E5912 #178E1C #20C326 #3FE046

Accessibility & contrast

On white

4.27
#178E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#178E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E1C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E1C#FFFFFF#000000##000000
##178E1C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178e1c;
/* rgb */ color: rgb(23, 142, 28);
/* oklch */ color: oklch(56.4% 0.178 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#178e1c',
    950: '#000000',
  },
}
SCSS
$custom: #178e1c;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#178e1c",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 122.521,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.17825,
    "h": 143.1
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#178E1C
secondary
#C040BB
accent
#39E7EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #178E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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