#178F4C#178F4C

#178F4C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.142 H 152.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#178F4C
RGBrgb(23, 143, 76)
HSLhsl(147, 72%, 33%)
HSVhsv(147, 84%, 56%)
CMYKcmyk(83.9%, 0%, 46.9%, 43.9%)
CIE-LABlab(52.23, -46.93, 26.92)
CIE-LCHlch(52.23, 54.11, 150.16°)
OKLaboklab(57.23% -0.126 0.0661)
OKLCHoklch(57.23% 0.142 152.3)
XYZxyz(11.4793, 20.3475, 10.1585)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F4C #8F175A
analogous
#1E8F17 #178F4C #178F88
triadic
#178F4C #4C178F #8F4C17
tetradic
#178F4C #171E8F #8F175A #8F8817
square
#178F4C #171E8F #8F175A #8F8817
split-complementary
#178F4C #88178F #8F171E
monochromatic
#062614 #0F5A30 #178F4C #1FC468 #40E087

Accessibility & contrast

On white

4.14
#178F4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#178F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F4C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F4C#FFFFFF#000000##000000
##178F4C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8247
Deuteranopia (green-blind)
#827951
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #178f4c;
/* rgb */ color: rgb(23, 143, 76);
/* oklch */ color: oklch(57.2% 0.142 152.3);
Tailwind
colors: {
  custom: {
    50: '#6bb17f',
    500: '#178f4c',
    950: '#000000',
  },
}
SCSS
$custom: #178f4c;
$custom-light: #6bb17f;
$custom-dark: #000000;
JSON
{
  "hex": "#178f4c",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 146.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.14231,
    "h": 152.3
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#178F4C
secondary
#C14188
accent
#399FEF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #178F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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