#178F2E#178F2E

#178F2E is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.168 H 145.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#178F2E
RGBrgb(23, 143, 46)
HSLhsl(132, 72%, 33%)
HSVhsv(132, 84%, 56%)
CMYKcmyk(83.9%, 0%, 67.8%, 43.9%)
CIE-LABlab(51.86, -51.33, 41.38)
CIE-LCHlch(51.86, 65.93, 141.12°)
OKLaboklab(56.81% -0.1383 0.0958)
OKLCHoklch(56.81% 0.168 145.3)
XYZxyz(10.6682, 20.0230, 5.8868)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F2E #8F1778
analogous
#3C8F17 #178F2E #178F6A
triadic
#178F2E #2E178F #8F2E17
tetradic
#178F2E #173C8F #8F1778 #8F6A17
square
#178F2E #173C8F #8F1778 #8F6A17
split-complementary
#178F2E #6A178F #8F173C
monochromatic
#06260C #0F5A1D #178F2E #1FC43F #40E05F

Accessibility & contrast

On white

4.20
#178F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#178F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F2E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F2E#FFFFFF#000000##000000
##178F2E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f2e;
/* rgb */ color: rgb(23, 143, 46);
/* oklch */ color: oklch(56.8% 0.168 145.3);
Tailwind
colors: {
  custom: {
    50: '#6db16b',
    500: '#178f2e',
    950: '#000000',
  },
}
SCSS
$custom: #178f2e;
$custom-light: #6db16b;
$custom-dark: #000000;
JSON
{
  "hex": "#178f2e",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 131.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.16822,
    "h": 145.3
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#178F2E
secondary
#C141A8
accent
#39CCEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #178F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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