#178517#178517

#178517 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.171 H 142.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#178517
RGBrgb(23, 133, 23)
HSLhsl(120, 71%, 31%)
HSVhsv(120, 83%, 52%)
CMYKcmyk(82.7%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.28, -50.07, 46.48)
CIE-LCHlch(48.28, 68.32, 137.13°)
OKLaboklab(53.78% -0.1359 0.1034)
OKLCHoklch(53.78% 0.171 142.7)
XYZxyz(8.8950, 17.0180, 3.6265)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178517 #851785
analogous
#4E8517 #178517 #17854E
triadic
#178517 #171785 #851717
tetradic
#178517 #174E85 #851785 #854E17
square
#178517 #174E85 #851785 #854E17
split-complementary
#178517 #4E1785 #85174E
monochromatic
#051D05 #0E510E #178517 #20B920 #3ADD3A

Accessibility & contrast

On white

4.77
#178517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#178517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178517
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178517#FFFFFF#000000##FFFFFF
##1785171.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7C7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178517;
/* rgb */ color: rgb(23, 133, 23);
/* oklch */ color: oklch(53.8% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#6baa5e',
    500: '#178517',
    950: '#000000',
  },
}
SCSS
$custom: #178517;
$custom-light: #6baa5e;
$custom-dark: #000000;
JSON
{
  "hex": "#178517",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.17077,
    "h": 142.7
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#178517
secondary
#B93FB9
accent
#3BEDED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178517

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

Preview Lab → · Contrast checker → · Palette generator →

#178517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva