#178C51#178C51

#178C51 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.134 H 154.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#178C51
RGBrgb(23, 140, 81)
HSLhsl(150, 72%, 32%)
HSVhsv(150, 84%, 55%)
CMYKcmyk(83.6%, 0%, 42.1%, 45.1%)
CIE-LABlab(51.30, -44.85, 23.00)
CIE-LCHlch(51.30, 50.41, 152.85°)
OKLaboklab(56.5% -0.1207 0.0571)
OKLCHoklch(56.5% 0.134 154.7)
XYZxyz(11.2155, 19.5310, 10.9617)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C51 #8C1752
analogous
#178C17 #178C51 #178C8C
triadic
#178C51 #51178C #8C5117
tetradic
#178C51 #17178C #8C1752 #8C8C17
square
#178C51 #17178C #8C1752 #8C8C17
split-complementary
#178C51 #8C178C #8C1717
monochromatic
#062314 #0E5733 #178C51 #20C16F #3EDF8E

Accessibility & contrast

On white

4.28
#178C51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#178C51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C51
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C51#FFFFFF#000000##000000
##178C511.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804D
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178c51;
/* rgb */ color: rgb(23, 140, 81);
/* oklch */ color: oklch(56.5% 0.134 154.7);
Tailwind
colors: {
  custom: {
    50: '#6baf82',
    500: '#178c51',
    950: '#000000',
  },
}
SCSS
$custom: #178c51;
$custom-light: #6baf82;
$custom-dark: #000000;
JSON
{
  "hex": "#178c51",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 81
  },
  "hsl": {
    "h": 149.744,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.13353,
    "h": 154.7
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#178C51
secondary
#BF3F80
accent
#3995EF
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #178C51

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

Preview Lab → · Contrast checker → · Palette generator →

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