#178F39#178F39

#178F39 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.160 H 147.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#178F39
RGBrgb(23, 143, 57)
HSLhsl(137, 72%, 33%)
HSVhsv(137, 84%, 56%)
CMYKcmyk(83.9%, 0%, 60.1%, 43.9%)
CIE-LABlab(51.97, -49.97, 36.40)
CIE-LCHlch(51.97, 61.82, 143.93°)
OKLaboklab(56.94% -0.1343 0.0862)
OKLCHoklch(56.94% 0.16 147.3)
XYZxyz(10.9135, 20.1211, 7.1787)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F39 #8F176D
analogous
#318F17 #178F39 #178F75
triadic
#178F39 #39178F #8F3917
tetradic
#178F39 #17318F #8F176D #8F7517
square
#178F39 #17318F #8F176D #8F7517
split-complementary
#178F39 #75178F #8F1731
monochromatic
#06260F #0F5A24 #178F39 #1FC44E #40E06D

Accessibility & contrast

On white

4.18
#178F39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#178F39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F39
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F39#FFFFFF#000000##000000
##178F391.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918130
Deuteranopia (green-blind)
#847840
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f39;
/* rgb */ color: rgb(23, 143, 57);
/* oklch */ color: oklch(56.9% 0.160 147.3);
Tailwind
colors: {
  custom: {
    50: '#6cb172',
    500: '#178f39',
    950: '#000000',
  },
}
SCSS
$custom: #178f39;
$custom-light: #6cb172;
$custom-dark: #000000;
JSON
{
  "hex": "#178f39",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 57
  },
  "hsl": {
    "h": 137,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.15953,
    "h": 147.3
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#178F39
secondary
#C1419D
accent
#39BBEF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #178F39

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

Preview Lab → · Contrast checker → · Palette generator →

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