#167B20#167B20

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

Color values

HEX#167B20
RGBrgb(22, 123, 32)
HSLhsl(126, 70%, 28%)
HSVhsv(126, 82%, 48%)
CMYKcmyk(82.1%, 0%, 74%, 51.8%)
CIE-LABlab(44.86, -46.21, 39.86)
CIE-LCHlch(44.86, 61.03, 139.22°)
OKLaboklab(50.95% -0.125 0.0909)
OKLCHoklch(50.95% 0.155 144)
XYZxyz(7.6740, 14.4399, 3.7489)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B20 #7B1671
analogous
#3E7B16 #167B20 #167B52
triadic
#167B20 #20167B #7B2016
tetradic
#167B20 #163E7B #7B1671 #7B5216
square
#167B20 #163E7B #7B1671 #7B5216
split-complementary
#167B20 #52167B #7B163E
monochromatic
#051A07 #0D4712 #167B20 #1FAF2E #31DA42

Accessibility & contrast

On white

5.40
#167B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#167B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167B20
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167B20#FFFFFF#000000##FFFFFF
##167B201.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F11
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167b20;
/* rgb */ color: rgb(22, 123, 32);
/* oklch */ color: oklch(50.9% 0.154 144.0);
Tailwind
colors: {
  custom: {
    50: '#68a261',
    500: '#167b20',
    950: '#000000',
  },
}
SCSS
$custom: #167b20;
$custom-light: #68a261;
$custom-dark: #000000;
JSON
{
  "hex": "#167b20",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 125.941,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.1545,
    "h": 144
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#167B20
secondary
#B03DA5
accent
#3BDBEC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167B20

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

Preview Lab → · Contrast checker → · Palette generator →

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