#168B17#168B17

#168B17 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.178 H 142.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#168B17
RGBrgb(22, 139, 23)
HSLhsl(121, 73%, 32%)
HSVhsv(121, 84%, 55%)
CMYKcmyk(84.2%, 0%, 83.5%, 45.5%)
CIE-LABlab(50.33, -52.11, 48.40)
CIE-LCHlch(50.33, 71.11, 137.12°)
OKLaboklab(55.48% -0.1414 0.1074)
OKLCHoklch(55.48% 0.178 142.8)
XYZxyz(9.7175, 18.6965, 3.9071)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168B17 #8B168A
analogous
#508B16 #168B17 #168B52
triadic
#168B17 #17168B #8B1716
tetradic
#168B17 #16508B #8B168A #8B5216
square
#168B17 #16508B #8B168A #8B5216
split-complementary
#168B17 #52168B #8B1650
monochromatic
#052106 #0E560E #168B17 #1EC020 #3BE03D

Accessibility & contrast

On white

4.43
#168B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#168B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168B17
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168B17#FFFFFF#000000##000000
##168B171.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #168b17;
/* rgb */ color: rgb(22, 139, 23);
/* oklch */ color: oklch(55.5% 0.178 142.8);
Tailwind
colors: {
  custom: {
    50: '#6cae5f',
    500: '#168b17',
    950: '#000000',
  },
}
SCSS
$custom: #168b17;
$custom-light: #6cae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#168b17",
  "rgb": {
    "r": 22,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 120.513,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.17754,
    "h": 142.8
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

primary
#168B17
secondary
#BF3EBE
accent
#38EEEF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #168B17

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

Preview Lab → · Contrast checker → · Palette generator →

#168B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva