#168717#168717

#168717 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.3% C 0.173 H 142.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#168717
RGBrgb(22, 135, 23)
HSLhsl(121, 72%, 31%)
HSVhsv(121, 84%, 53%)
CMYKcmyk(83.7%, 0%, 83%, 47.1%)
CIE-LABlab(48.96, -50.84, 47.11)
CIE-LCHlch(48.96, 69.31, 137.18°)
OKLaboklab(54.34% -0.1379 0.1047)
OKLCHoklch(54.34% 0.173 142.8)
XYZxyz(9.1489, 17.5593, 3.7175)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168717 #871686
analogous
#4D8716 #168717 #16874F
triadic
#168717 #171687 #871716
tetradic
#168717 #164D87 #871686 #874F16
square
#168717 #164D87 #871686 #874F16
split-complementary
#168717 #4F1687 #87164D
monochromatic
#051E05 #0D520E #168717 #1FBC20 #39DF3A

Accessibility & contrast

On white

4.65
#168717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#168717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #168717
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168717#FFFFFF#000000##FFFFFF
##1687171.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #168717;
/* rgb */ color: rgb(22, 135, 23);
/* oklch */ color: oklch(54.3% 0.173 142.8);
Tailwind
colors: {
  custom: {
    50: '#6bab5f',
    500: '#168717',
    950: '#000000',
  },
}
SCSS
$custom: #168717;
$custom-light: #6bab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#168717",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 120.531,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.17319,
    "h": 142.8
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#168717
secondary
#BB3EBA
accent
#39EDEF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #168717

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

Preview Lab → · Contrast checker → · Palette generator →

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