#167B1B#167B1B

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

Color values

HEX#167B1B
RGBrgb(22, 123, 27)
HSLhsl(123, 70%, 28%)
HSVhsv(123, 82%, 48%)
CMYKcmyk(82.1%, 0%, 78%, 51.8%)
CIE-LABlab(44.82, -46.65, 41.77)
CIE-LCHlch(44.82, 62.62, 138.16°)
OKLaboklab(50.91% -0.1264 0.0942)
OKLCHoklch(50.91% 0.158 143.3)
XYZxyz(7.6112, 14.4147, 3.4179)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B1B #7B1676
analogous
#437B16 #167B1B #167B4D
triadic
#167B1B #1B167B #7B1B16
tetradic
#167B1B #16437B #7B1676 #7B4D16
square
#167B1B #16437B #7B1676 #7B4D16
split-complementary
#167B1B #4D167B #7B1643
monochromatic
#051A06 #0D4710 #167B1B #1FAF26 #31DA3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167B1B#FFFFFF#000000##FFFFFF
##167B1B1.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)
#7E6F06
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167b1b;
/* rgb */ color: rgb(22, 123, 27);
/* oklch */ color: oklch(50.9% 0.158 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a25f',
    500: '#167b1b',
    950: '#000000',
  },
}
SCSS
$custom: #167b1b;
$custom-light: #68a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#167b1b",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 122.97,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.15761,
    "h": 143.3
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#167B1B
secondary
#B03DAA
accent
#3BE4EC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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