#167717#167717

#167717 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.7% C 0.155 H 142.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#167717
RGBrgb(22, 119, 23)
HSLhsl(121, 69%, 28%)
HSVhsv(121, 82%, 47%)
CMYKcmyk(81.5%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.40, -45.62, 41.81)
CIE-LCHlch(43.40, 61.89, 137.50°)
OKLaboklab(49.71% -0.1238 0.0937)
OKLCHoklch(49.71% 0.155 142.9)
XYZxyz(7.0819, 13.4252, 3.0285)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167717 #771676
analogous
#457716 #167717 #167748
triadic
#167717 #171677 #771716
tetradic
#167717 #164577 #771676 #774816
square
#167717 #164577 #771676 #774816
split-complementary
#167717 #481677 #771645
monochromatic
#051A05 #0C430D #167717 #20AB21 #2FD931

Accessibility & contrast

On white

5.70
#167717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#167717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167717
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167717#FFFFFF#000000##FFFFFF
##1677171.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#6F6422
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #167717;
/* rgb */ color: rgb(22, 119, 23);
/* oklch */ color: oklch(49.7% 0.155 142.9);
Tailwind
colors: {
  custom: {
    50: '#679f5c',
    500: '#167717',
    950: '#000000',
  },
}
SCSS
$custom: #167717;
$custom-light: #679f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#167717",
  "rgb": {
    "r": 22,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 120.619,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.15522,
    "h": 142.9
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#167717
secondary
#AC3CAB
accent
#3CEAEC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #167717

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

Preview Lab → · Contrast checker → · Palette generator →

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