#167A17#167A17

#167A17 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.159 H 142.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#167A17
RGBrgb(22, 122, 23)
HSLhsl(121, 69%, 28%)
HSVhsv(121, 82%, 48%)
CMYKcmyk(82%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.45, -46.62, 42.83)
CIE-LCHlch(44.45, 63.31, 137.43°)
OKLaboklab(50.59% -0.1265 0.0958)
OKLCHoklch(50.59% 0.159 142.9)
XYZxyz(7.4446, 14.1506, 3.1494)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167A17 #7A1679
analogous
#477A16 #167A17 #167A49
triadic
#167A17 #17167A #7A1716
tetradic
#167A17 #16477A #7A1679 #7A4916
square
#167A17 #16477A #7A1679 #7A4916
split-complementary
#167A17 #49167A #7A1647
monochromatic
#051A05 #0D460D #167A17 #1FAE21 #31DA32

Accessibility & contrast

On white

5.48
#167A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#167A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167A17
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167A17#FFFFFF#000000##FFFFFF
##167A171.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #167a17;
/* rgb */ color: rgb(22, 122, 23);
/* oklch */ color: oklch(50.6% 0.159 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#167a17',
    950: '#000000',
  },
}
SCSS
$custom: #167a17;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#167a17",
  "rgb": {
    "r": 22,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 120.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.15866,
    "h": 142.9
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#167A17
secondary
#AF3DAE
accent
#3CEAEC
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #167A17

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

Preview Lab → · Contrast checker → · Palette generator →

#167A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva