#167816#167816

#167816 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.157 H 142.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#167816
RGBrgb(22, 120, 22)
HSLhsl(120, 69%, 28%)
HSVhsv(120, 82%, 47%)
CMYKcmyk(81.7%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.74, -46.03, 42.49)
CIE-LCHlch(43.74, 62.64, 137.29°)
OKLaboklab(50% -0.1249 0.0949)
OKLCHoklch(50% 0.157 142.8)
XYZxyz(7.1917, 13.6606, 3.0166)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167816 #781678
analogous
#477816 #167816 #167847
triadic
#167816 #161678 #781616
tetradic
#167816 #164778 #781678 #784716
square
#167816 #164778 #781678 #784716
split-complementary
#167816 #471678 #781647
monochromatic
#051A05 #0D440D #167816 #1FAC1F #2FD92F

Accessibility & contrast

On white

5.63
#167816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#167816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167816
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167816#FFFFFF#000000##FFFFFF
##1678161.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #167816;
/* rgb */ color: rgb(22, 120, 22);
/* oklch */ color: oklch(50.0% 0.157 142.8);
Tailwind
colors: {
  custom: {
    50: '#67a05c',
    500: '#167816',
    950: '#000000',
  },
}
SCSS
$custom: #167816;
$custom-light: #67a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#167816",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 120,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.1569,
    "h": 142.8
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#167816
secondary
#AD3CAD
accent
#3CECEC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #167816

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

Preview Lab → · Contrast checker → · Palette generator →

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