#178F3C#178F3C

#178F3C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.157 H 148.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#178F3C
RGBrgb(23, 143, 60)
HSLhsl(139, 72%, 33%)
HSVhsv(139, 84%, 56%)
CMYKcmyk(83.9%, 0%, 58%, 43.9%)
CIE-LABlab(52.01, -49.55, 34.96)
CIE-LCHlch(52.01, 60.64, 144.79°)
OKLaboklab(56.98% -0.133 0.0833)
OKLCHoklch(56.98% 0.157 148)
XYZxyz(10.9905, 20.1520, 7.5846)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F3C #8F176A
analogous
#2E8F17 #178F3C #178F78
triadic
#178F3C #3C178F #8F3C17
tetradic
#178F3C #172E8F #8F176A #8F7817
square
#178F3C #172E8F #8F176A #8F7817
split-complementary
#178F3C #78178F #8F172E
monochromatic
#062610 #0F5A26 #178F3C #1FC452 #40E071

Accessibility & contrast

On white

4.17
#178F3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#178F3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F3C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F3C#FFFFFF#000000##000000
##178F3C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918234
Deuteranopia (green-blind)
#847843
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f3c;
/* rgb */ color: rgb(23, 143, 60);
/* oklch */ color: oklch(57.0% 0.157 148.0);
Tailwind
colors: {
  custom: {
    50: '#6cb174',
    500: '#178f3c',
    950: '#000000',
  },
}
SCSS
$custom: #178f3c;
$custom-light: #6cb174;
$custom-dark: #000000;
JSON
{
  "hex": "#178f3c",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 60
  },
  "hsl": {
    "h": 138.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.15696,
    "h": 148
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#178F3C
secondary
#C14199
accent
#39B7EF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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