#178A2A#178A2A

#178A2A is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.165 H 144.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#178A2A
RGBrgb(23, 138, 42)
HSLhsl(130, 71%, 32%)
HSVhsv(130, 83%, 54%)
CMYKcmyk(83.3%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.13, -50.10, 41.24)
CIE-LCHlch(50.13, 64.89, 140.54°)
OKLaboklab(55.36% -0.1351 0.095)
OKLCHoklch(55.36% 0.165 144.9)
XYZxyz(9.8590, 18.5251, 5.2461)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A2A #8A1777
analogous
#3E8A17 #178A2A #178A64
triadic
#178A2A #2A178A #8A2A17
tetradic
#178A2A #173E8A #8A1777 #8A6417
square
#178A2A #173E8A #8A1777 #8A6417
split-complementary
#178A2A #64178A #8A173E
monochromatic
#06210A #0E561A #178A2A #20BE3A #3DDF58

Accessibility & contrast

On white

4.46
#178A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#178A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A2A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A2A#FFFFFF#000000##000000
##178A2A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1D
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a2a;
/* rgb */ color: rgb(23, 138, 42);
/* oklch */ color: oklch(55.4% 0.165 144.9);
Tailwind
colors: {
  custom: {
    50: '#6bad69',
    500: '#178a2a',
    950: '#000000',
  },
}
SCSS
$custom: #178a2a;
$custom-light: #6bad69;
$custom-dark: #000000;
JSON
{
  "hex": "#178a2a",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 129.913,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.16518,
    "h": 144.9
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#178A2A
secondary
#BE3FA9
accent
#3AD0EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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