#167D1B#167D1B

#167D1B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.160 H 143.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#167D1B
RGBrgb(22, 125, 27)
HSLhsl(123, 70%, 29%)
HSVhsv(123, 82%, 49%)
CMYKcmyk(82.4%, 0%, 78.4%, 51%)
CIE-LABlab(45.52, -47.31, 42.47)
CIE-LCHlch(45.52, 63.58, 138.09°)
OKLaboklab(51.49% -0.1282 0.0956)
OKLCHoklch(51.49% 0.16 143.3)
XYZxyz(7.8618, 14.9160, 3.5014)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167D1B #7D1678
analogous
#457D16 #167D1B #167D4F
triadic
#167D1B #1B167D #7D1B16
tetradic
#167D1B #16457D #7D1678 #7D4F16
square
#167D1B #16457D #7D1678 #7D4F16
split-complementary
#167D1B #4F167D #7D1645
monochromatic
#051A06 #0D4910 #167D1B #1FB126 #32DB3B

Accessibility & contrast

On white

5.27
#167D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#167D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167D1B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167D1B#FFFFFF#000000##FFFFFF
##167D1B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807005
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #167d1b;
/* rgb */ color: rgb(22, 125, 27);
/* oklch */ color: oklch(51.5% 0.160 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a45f',
    500: '#167d1b',
    950: '#000000',
  },
}
SCSS
$custom: #167d1b;
$custom-light: #68a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#167d1b",
  "rgb": {
    "r": 22,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 122.913,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51486,
    "c": 0.15991,
    "h": 143.3
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#167D1B
secondary
#B23DAC
accent
#3BE4ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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