#178F4D#178F4D

#178F4D is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.141 H 152.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#178F4D
RGBrgb(23, 143, 77)
HSLhsl(147, 72%, 33%)
HSVhsv(147, 84%, 56%)
CMYKcmyk(83.9%, 0%, 46.2%, 43.9%)
CIE-LABlab(52.24, -46.75, 26.41)
CIE-LCHlch(52.24, 53.69, 150.54°)
OKLaboklab(57.25% -0.1255 0.065)
OKLCHoklch(57.25% 0.141 152.6)
XYZxyz(11.5143, 20.3615, 10.3430)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F4D #8F1759
analogous
#1D8F17 #178F4D #178F89
triadic
#178F4D #4D178F #8F4D17
tetradic
#178F4D #171D8F #8F1759 #8F8917
square
#178F4D #171D8F #8F1759 #8F8917
split-complementary
#178F4D #89178F #8F171D
monochromatic
#062614 #0F5A31 #178F4D #1FC469 #40E088

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F4D#FFFFFF#000000##000000
##178F4D1.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)
#8F8248
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #178f4d;
/* rgb */ color: rgb(23, 143, 77);
/* oklch */ color: oklch(57.3% 0.141 152.6);
Tailwind
colors: {
  custom: {
    50: '#6bb180',
    500: '#178f4d',
    950: '#000000',
  },
}
SCSS
$custom: #178f4d;
$custom-light: #6bb180;
$custom-dark: #000000;
JSON
{
  "hex": "#178f4d",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 147,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57252,
    "c": 0.14136,
    "h": 152.6
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#178F4D
secondary
#C14187
accent
#399DEF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #178F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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