#168718#168718

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

Color values

HEX#168718
RGBrgb(22, 135, 24)
HSLhsl(121, 72%, 31%)
HSVhsv(121, 84%, 53%)
CMYKcmyk(83.7%, 0%, 82.2%, 47.1%)
CIE-LABlab(48.96, -50.78, 46.81)
CIE-LCHlch(48.96, 69.06, 137.33°)
OKLaboklab(54.35% -0.1377 0.1042)
OKLCHoklch(54.35% 0.173 142.9)
XYZxyz(9.1591, 17.5633, 3.7713)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168718 #871685
analogous
#4C8716 #168718 #168750
triadic
#168718 #181687 #871816
tetradic
#168718 #164C87 #871685 #875016
square
#168718 #164C87 #871685 #875016
split-complementary
#168718 #501687 #87164C
monochromatic
#051E05 #0D520F #168718 #1FBC21 #39DF3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168718#FFFFFF#000000##FFFFFF
##1687181.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)
#7E7126
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #168718;
/* rgb */ color: rgb(22, 135, 24);
/* oklch */ color: oklch(54.3% 0.173 142.9);
Tailwind
colors: {
  custom: {
    50: '#6bab5f',
    500: '#168718',
    950: '#000000',
  },
}
SCSS
$custom: #168718;
$custom-light: #6bab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#168718",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 121.062,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.17272,
    "h": 142.9
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#168718
secondary
#BB3EB9
accent
#39EBEF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #168718

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

Preview Lab → · Contrast checker → · Palette generator →

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