#167B17#167B17

#167B17 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.160 H 142.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#167B17
RGBrgb(22, 123, 23)
HSLhsl(121, 70%, 28%)
HSVhsv(121, 82%, 48%)
CMYKcmyk(82.1%, 0%, 81.3%, 51.8%)
CIE-LABlab(44.80, -46.95, 43.16)
CIE-LCHlch(44.80, 63.78, 137.41°)
OKLaboklab(50.88% -0.1274 0.0965)
OKLCHoklch(50.88% 0.16 142.9)
XYZxyz(7.5680, 14.3974, 3.1906)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B17 #7B167A
analogous
#477B16 #167B17 #167B49
triadic
#167B17 #17167B #7B1716
tetradic
#167B17 #16477B #7B167A #7B4916
square
#167B17 #16477B #7B167A #7B4916
split-complementary
#167B17 #49167B #7B1647
monochromatic
#051A05 #0D470D #167B17 #1FAF21 #31DA33

Accessibility & contrast

On white

5.41
#167B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#167B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167B17
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167B17#FFFFFF#000000##FFFFFF
##167B171.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167b17;
/* rgb */ color: rgb(22, 123, 23);
/* oklch */ color: oklch(50.9% 0.160 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a25d',
    500: '#167b17',
    950: '#000000',
  },
}
SCSS
$custom: #167b17;
$custom-light: #68a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#167b17",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 120.594,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50878,
    "c": 0.1598,
    "h": 142.9
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#167B17
secondary
#B03DAF
accent
#3BEBEC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #167B17

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

Preview Lab → · Contrast checker → · Palette generator →

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