#179D1F#179D1F

#179D1F is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.6% C 0.193 H 143.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#179D1F
RGBrgb(23, 157, 31)
HSLhsl(124, 74%, 35%)
HSVhsv(124, 85%, 62%)
CMYKcmyk(85.4%, 0%, 80.3%, 38.4%)
CIE-LABlab(56.48, -57.08, 51.77)
CIE-LCHlch(56.48, 77.06, 137.80°)
OKLaboklab(60.62% -0.1546 0.1156)
OKLCHoklch(60.62% 0.193 143.2)
XYZxyz(12.6568, 24.3934, 5.3374)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#179D1F #9D1795
analogous
#529D17 #179D1F #179D62
triadic
#179D1F #1F179D #9D1F17
tetradic
#179D1F #17529D #9D1795 #9D6217
square
#179D1F #17529D #9D1795 #9D6217
split-complementary
#179D1F #62179D #9D1752
monochromatic
#07320A #0F6814 #179D1F #1FD22A #4AE453

Accessibility & contrast

On white

3.57
#179D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#179D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #179D1F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##179D1F#FFFFFF#000000##000000
##179D1F1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #179d1f;
/* rgb */ color: rgb(23, 157, 31);
/* oklch */ color: oklch(60.6% 0.193 143.2);
Tailwind
colors: {
  custom: {
    50: '#71bb65',
    500: '#179d1f',
    950: '#000000',
  },
}
SCSS
$custom: #179d1f;
$custom-light: #71bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#179d1f",
  "rgb": {
    "r": 23,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 123.582,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.19303,
    "h": 143.2
  },
  "luminance": 0.24395
}

Semantic roles & 50–950 ramp

primary
#179D1F
secondary
#C64ABF
accent
#37E6F1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091206
muted
#7B817A

Preview Lab

Preview with #179D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#179D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva