#178A1D#178A1D

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

Color values

HEX#178A1D
RGBrgb(23, 138, 29)
HSLhsl(123, 71%, 32%)
HSVhsv(123, 83%, 54%)
CMYKcmyk(83.3%, 0%, 79%, 45.9%)
CIE-LABlab(50.03, -51.27, 46.20)
CIE-LCHlch(50.03, 69.01, 137.97°)
OKLaboklab(55.25% -0.1389 0.1037)
OKLCHoklch(55.25% 0.173 143.3)
XYZxyz(9.6630, 18.4466, 4.2134)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A1D #8A1784
analogous
#4B8A17 #178A1D #178A57
triadic
#178A1D #1D178A #8A1D17
tetradic
#178A1D #174B8A #8A1784 #8A5717
square
#178A1D #174B8A #8A1784 #8A5717
split-complementary
#178A1D #57178A #8A174B
monochromatic
#062107 #0E5612 #178A1D #20BE28 #3DDF45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178A1D#FFFFFF#000000##000000
##178A1D1.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)
#8D7C02
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a1d;
/* rgb */ color: rgb(23, 138, 29);
/* oklch */ color: oklch(55.3% 0.173 143.3);
Tailwind
colors: {
  custom: {
    50: '#6cad62',
    500: '#178a1d',
    950: '#000000',
  },
}
SCSS
$custom: #178a1d;
$custom-light: #6cad62;
$custom-dark: #000000;
JSON
{
  "hex": "#178a1d",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 123.13,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55251,
    "c": 0.17331,
    "h": 143.3
  },
  "luminance": 0.18448
}

Semantic roles & 50–950 ramp

primary
#178A1D
secondary
#BE3FB7
accent
#3AE5EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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