#178D17#178D17

#178D17 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.179 H 142.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#178D17
RGBrgb(23, 141, 23)
HSLhsl(120, 72%, 32%)
HSVhsv(120, 84%, 55%)
CMYKcmyk(83.7%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.03, -52.62, 49.05)
CIE-LCHlch(51.03, 71.93, 137.01°)
OKLaboklab(56.07% -0.1428 0.1088)
OKLCHoklch(56.07% 0.18 142.7)
XYZxyz(10.0322, 19.2925, 4.0055)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D17 #8D178D
analogous
#528D17 #178D17 #178D52
triadic
#178D17 #17178D #8D1717
tetradic
#178D17 #17528D #8D178D #8D5217
square
#178D17 #17528D #8D178D #8D5217
split-complementary
#178D17 #52178D #8D1752
monochromatic
#062406 #0E580E #178D17 #20C220 #3FE03F

Accessibility & contrast

On white

4.32
#178D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#178D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D17
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D17#FFFFFF#000000##000000
##178D171.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d17;
/* rgb */ color: rgb(23, 141, 23);
/* oklch */ color: oklch(56.1% 0.179 142.7);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#178d17',
    950: '#000000',
  },
}
SCSS
$custom: #178d17;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#178d17",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.1795,
    "h": 142.7
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#178D17
secondary
#C040C0
accent
#39EFEF
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081105
muted
#7B8079

Preview Lab

Preview with #178D17

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

Preview Lab → · Contrast checker → · Palette generator →

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