#178A1C#178A1C

#178A1C is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.174 H 143.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#178A1C
RGBrgb(23, 138, 28)
HSLhsl(123, 71%, 32%)
HSVhsv(123, 83%, 54%)
CMYKcmyk(83.3%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.03, -51.34, 46.54)
CIE-LCHlch(50.03, 69.29, 137.81°)
OKLaboklab(55.24% -0.1391 0.1042)
OKLCHoklch(55.24% 0.174 143.2)
XYZxyz(9.6508, 18.4418, 4.1494)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A1C #8A1785
analogous
#4C8A17 #178A1C #178A56
triadic
#178A1C #1C178A #8A1C17
tetradic
#178A1C #174C8A #8A1785 #8A5617
square
#178A1C #174C8A #8A1785 #8A5617
split-complementary
#178A1C #56178A #8A174C
monochromatic
#062107 #0E5611 #178A1C #20BE27 #3DDF44

Accessibility & contrast

On white

4.48
#178A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#178A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A1C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A1C#FFFFFF#000000##000000
##178A1C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a1c;
/* rgb */ color: rgb(23, 138, 28);
/* oklch */ color: oklch(55.2% 0.174 143.2);
Tailwind
colors: {
  custom: {
    50: '#6cad61',
    500: '#178a1c',
    950: '#000000',
  },
}
SCSS
$custom: #178a1c;
$custom-light: #6cad61;
$custom-dark: #000000;
JSON
{
  "hex": "#178a1c",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 122.609,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.17384,
    "h": 143.2
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

primary
#178A1C
secondary
#BE3FB8
accent
#3AE6EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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