#167417#167417

#167417 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.152 H 142.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#167417
RGBrgb(22, 116, 23)
HSLhsl(121, 68%, 27%)
HSVhsv(121, 81%, 45%)
CMYKcmyk(81%, 0%, 80.2%, 54.5%)
CIE-LABlab(42.34, -44.62, 40.78)
CIE-LCHlch(42.34, 60.45, 137.57°)
OKLaboklab(48.84% -0.121 0.0915)
OKLCHoklch(48.84% 0.152 142.9)
XYZxyz(6.7305, 12.7224, 2.9114)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167417 #741673
analogous
#447416 #167417 #167446
triadic
#167417 #171674 #741716
tetradic
#167417 #164474 #741673 #744616
square
#167417 #164474 #741673 #744616
split-complementary
#167417 #461674 #741644
monochromatic
#051A05 #0C410D #167417 #20A721 #2DD72F

Accessibility & contrast

On white

5.92
#167417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#167417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167417
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167417#FFFFFF#000000##FFFFFF
##1674171.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #167417;
/* rgb */ color: rgb(22, 116, 23);
/* oklch */ color: oklch(48.8% 0.152 142.9);
Tailwind
colors: {
  custom: {
    50: '#669d5c',
    500: '#167417',
    950: '#000000',
  },
}
SCSS
$custom: #167417;
$custom-light: #669d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#167417",
  "rgb": {
    "r": 22,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 120.638,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.15175,
    "h": 142.9
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#167417
secondary
#AA3CA9
accent
#3DE9EB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #167417

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

Preview Lab → · Contrast checker → · Palette generator →

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