#178C2A#178C2A

#178C2A is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.168 H 144.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#178C2A
RGBrgb(23, 140, 42)
HSLhsl(130, 72%, 32%)
HSVhsv(130, 84%, 55%)
CMYKcmyk(83.6%, 0%, 70%, 45.1%)
CIE-LABlab(50.81, -50.76, 41.97)
CIE-LCHlch(50.81, 65.86, 140.42°)
OKLaboklab(55.93% -0.1369 0.0965)
OKLCHoklch(55.93% 0.168 144.8)
XYZxyz(10.1486, 19.1042, 5.3427)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C2A #8C1779
analogous
#3E8C17 #178C2A #178C65
triadic
#178C2A #2A178C #8C2A17
tetradic
#178C2A #173E8C #8C1779 #8C6517
square
#178C2A #173E8C #8C1779 #8C6517
split-complementary
#178C2A #65178C #8C173E
monochromatic
#06230A #0E571A #178C2A #20C13A #3EDF58

Accessibility & contrast

On white

4.36
#178C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#178C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C2A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C2A#FFFFFF#000000##000000
##178C2A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c2a;
/* rgb */ color: rgb(23, 140, 42);
/* oklch */ color: oklch(55.9% 0.168 144.8);
Tailwind
colors: {
  custom: {
    50: '#6caf69',
    500: '#178c2a',
    950: '#000000',
  },
}
SCSS
$custom: #178c2a;
$custom-light: #6caf69;
$custom-dark: #000000;
JSON
{
  "hex": "#178c2a",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 129.744,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55926,
    "c": 0.16754,
    "h": 144.8
  },
  "luminance": 0.19105
}

Semantic roles & 50–950 ramp

primary
#178C2A
secondary
#BF3FAB
accent
#39D1EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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