#167917#167917

#167917 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.158 H 142.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#167917
RGBrgb(22, 121, 23)
HSLhsl(121, 69%, 28%)
HSVhsv(121, 82%, 47%)
CMYKcmyk(81.8%, 0%, 81%, 52.5%)
CIE-LABlab(44.10, -46.29, 42.49)
CIE-LCHlch(44.10, 62.84, 137.45°)
OKLaboklab(50.3% -0.1256 0.0951)
OKLCHoklch(50.3% 0.158 142.9)
XYZxyz(7.3224, 13.9063, 3.1087)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167917 #791678
analogous
#467916 #167917 #167948
triadic
#167917 #171679 #791716
tetradic
#167917 #164679 #791678 #794816
square
#167917 #164679 #791678 #794816
split-complementary
#167917 #481679 #791646
monochromatic
#051A05 #0D450D #167917 #1FAD21 #30D932

Accessibility & contrast

On white

5.55
#167917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#167917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167917
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167917#FFFFFF#000000##FFFFFF
##1679171.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #167917;
/* rgb */ color: rgb(22, 121, 23);
/* oklch */ color: oklch(50.3% 0.158 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a15c',
    500: '#167917',
    950: '#000000',
  },
}
SCSS
$custom: #167917;
$custom-light: #68a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#167917",
  "rgb": {
    "r": 22,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 120.606,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.15752,
    "h": 142.9
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#167917
secondary
#AE3DAD
accent
#3CEAEC
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #167917

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

Preview Lab → · Contrast checker → · Palette generator →

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