#178F4A#178F4A

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

Color values

HEX#178F4A
RGBrgb(23, 143, 74)
HSLhsl(146, 72%, 33%)
HSVhsv(146, 84%, 56%)
CMYKcmyk(83.9%, 0%, 48.3%, 43.9%)
CIE-LABlab(52.20, -47.30, 27.96)
CIE-LCHlch(52.20, 54.94, 149.41°)
OKLaboklab(57.2% -0.1269 0.0684)
OKLCHoklch(57.2% 0.144 151.7)
XYZxyz(11.4108, 20.3201, 9.7980)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F4A #8F175C
analogous
#208F17 #178F4A #178F86
triadic
#178F4A #4A178F #8F4A17
tetradic
#178F4A #17208F #8F175C #8F8617
square
#178F4A #17208F #8F175C #8F8617
split-complementary
#178F4A #86178F #8F1720
monochromatic
#062613 #0F5A2F #178F4A #1FC465 #40E084

Accessibility & contrast

On white

4.15
#178F4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#178F4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F4A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F4A#FFFFFF#000000##000000
##178F4A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8245
Deuteranopia (green-blind)
#82794F
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f4a;
/* rgb */ color: rgb(23, 143, 74);
/* oklch */ color: oklch(57.2% 0.144 151.7);
Tailwind
colors: {
  custom: {
    50: '#6cb17d',
    500: '#178f4a',
    950: '#000000',
  },
}
SCSS
$custom: #178f4a;
$custom-light: #6cb17d;
$custom-dark: #000000;
JSON
{
  "hex": "#178f4a",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 74
  },
  "hsl": {
    "h": 145.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.1442,
    "h": 151.7
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

primary
#178F4A
secondary
#C1418A
accent
#39A2EF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #178F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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