#178A19#178A19

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

Color values

HEX#178A19
RGBrgb(23, 138, 25)
HSLhsl(121, 71%, 32%)
HSVhsv(121, 83%, 54%)
CMYKcmyk(83.3%, 0%, 81.9%, 45.9%)
CIE-LABlab(50.01, -51.54, 47.49)
CIE-LCHlch(50.01, 70.09, 137.34°)
OKLaboklab(55.23% -0.1398 0.1058)
OKLCHoklch(55.23% 0.175 142.9)
XYZxyz(9.6167, 18.4281, 3.9697)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A19 #8A1788
analogous
#4F8A17 #178A19 #178A53
triadic
#178A19 #19178A #8A1917
tetradic
#178A19 #174F8A #8A1788 #8A5317
square
#178A19 #174F8A #8A1788 #8A5317
split-complementary
#178A19 #53178A #8A174F
monochromatic
#062106 #0E560F #178A19 #20BE23 #3DDF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #178a19;
/* rgb */ color: rgb(23, 138, 25);
/* oklch */ color: oklch(55.2% 0.175 142.9);
Tailwind
colors: {
  custom: {
    50: '#6cad60',
    500: '#178a19',
    950: '#000000',
  },
}
SCSS
$custom: #178a19;
$custom-light: #6cad60;
$custom-dark: #000000;
JSON
{
  "hex": "#178a19",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 121.043,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.17533,
    "h": 142.9
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#178A19
secondary
#BE3FBB
accent
#3AEBEE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178A19

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

Preview Lab → · Contrast checker → · Palette generator →

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