#178A1B#178A1B

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

Color values

HEX#178A1B
RGBrgb(23, 138, 27)
HSLhsl(122, 71%, 32%)
HSVhsv(122, 83%, 54%)
CMYKcmyk(83.3%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.02, -51.41, 46.86)
CIE-LCHlch(50.02, 69.56, 137.65°)
OKLaboklab(55.24% -0.1394 0.1048)
OKLCHoklch(55.24% 0.174 143.1)
XYZxyz(9.6390, 18.4371, 4.0874)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A1B #8A1786
analogous
#4D8A17 #178A1B #178A55
triadic
#178A1B #1B178A #8A1B17
tetradic
#178A1B #174D8A #8A1786 #8A5517
square
#178A1B #174D8A #8A1786 #8A5517
split-complementary
#178A1B #55178A #8A174D
monochromatic
#062106 #0E5611 #178A1B #20BE25 #3DDF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178A1B#FFFFFF#000000##000000
##178A1B1.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)
#817428
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a1b;
/* rgb */ color: rgb(23, 138, 27);
/* oklch */ color: oklch(55.2% 0.174 143.1);
Tailwind
colors: {
  custom: {
    50: '#6cad61',
    500: '#178a1b',
    950: '#000000',
  },
}
SCSS
$custom: #178a1b;
$custom-light: #6cad61;
$custom-dark: #000000;
JSON
{
  "hex": "#178a1b",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 122.087,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.17435,
    "h": 143.1
  },
  "luminance": 0.18438
}

Semantic roles & 50–950 ramp

primary
#178A1B
secondary
#BE3FB9
accent
#3AE8EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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