#178D51#178D51

#178D51 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.135 H 154.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#178D51
RGBrgb(23, 141, 81)
HSLhsl(149, 72%, 32%)
HSVhsv(149, 84%, 55%)
CMYKcmyk(83.7%, 0%, 42.6%, 44.7%)
CIE-LABlab(51.64, -45.24, 23.44)
CIE-LCHlch(51.64, 50.95, 152.61°)
OKLaboklab(56.77% -0.1217 0.0582)
OKLCHoklch(56.77% 0.135 154.4)
XYZxyz(11.3623, 19.8246, 11.0107)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D51 #8D1753
analogous
#188D17 #178D51 #178D8C
triadic
#178D51 #51178D #8D5117
tetradic
#178D51 #17188D #8D1753 #8D8C17
square
#178D51 #17188D #8D1753 #8D8C17
split-complementary
#178D51 #8C178D #8D1718
monochromatic
#062415 #0E5833 #178D51 #20C26F #3FE08E

Accessibility & contrast

On white

4.23
#178D51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#178D51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D51
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D51#FFFFFF#000000##000000
##178D511.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814D
Deuteranopia (green-blind)
#7F7755
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178d51;
/* rgb */ color: rgb(23, 141, 81);
/* oklch */ color: oklch(56.8% 0.135 154.4);
Tailwind
colors: {
  custom: {
    50: '#6baf82',
    500: '#178d51',
    950: '#000000',
  },
}
SCSS
$custom: #178d51;
$custom-light: #6baf82;
$custom-dark: #000000;
JSON
{
  "hex": "#178d51",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 149.492,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.13487,
    "h": 154.4
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#178D51
secondary
#C04081
accent
#3995EF
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #178D51

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

Preview Lab → · Contrast checker → · Palette generator →

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