#178F2C#178F2C

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

Color values

HEX#178F2C
RGBrgb(23, 143, 44)
HSLhsl(131, 72%, 33%)
HSVhsv(131, 84%, 56%)
CMYKcmyk(83.9%, 0%, 69.2%, 43.9%)
CIE-LABlab(51.85, -51.54, 42.23)
CIE-LCHlch(51.85, 66.63, 140.67°)
OKLaboklab(56.79% -0.139 0.0973)
OKLCHoklch(56.79% 0.17 145)
XYZxyz(10.6297, 20.0076, 5.6840)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F2C #8F177A
analogous
#3E8F17 #178F2C #178F68
triadic
#178F2C #2C178F #8F2C17
tetradic
#178F2C #173E8F #8F177A #8F6817
square
#178F2C #173E8F #8F177A #8F6817
split-complementary
#178F2C #68178F #8F173E
monochromatic
#06260C #0F5A1C #178F2C #1FC43C #40E05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178F2C#FFFFFF#000000##000000
##178F2C1.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)
#91811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #178f2c;
/* rgb */ color: rgb(23, 143, 44);
/* oklch */ color: oklch(56.8% 0.170 145.0);
Tailwind
colors: {
  custom: {
    50: '#6db16a',
    500: '#178f2c',
    950: '#000000',
  },
}
SCSS
$custom: #178f2c;
$custom-light: #6db16a;
$custom-dark: #000000;
JSON
{
  "hex": "#178f2c",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 130.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.16966,
    "h": 145
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#178F2C
secondary
#C141AA
accent
#39CFEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #178F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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