#167F1B#167F1B

#167F1B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.162 H 143.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#167F1B
RGBrgb(22, 127, 27)
HSLhsl(123, 70%, 29%)
HSVhsv(123, 83%, 50%)
CMYKcmyk(82.7%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.21, -47.97, 43.15)
CIE-LCHlch(46.21, 64.53, 138.03°)
OKLaboklab(52.07% -0.13 0.097)
OKLCHoklch(52.07% 0.162 143.3)
XYZxyz(8.1175, 15.4275, 3.5867)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F1B #7F167A
analogous
#467F16 #167F1B #167F50
triadic
#167F1B #1B167F #7F1B16
tetradic
#167F1B #16467F #7F167A #7F5016
square
#167F1B #16467F #7F167A #7F5016
split-complementary
#167F1B #50167F #7F1646
monochromatic
#051A06 #0D4B10 #167F1B #1FB326 #34DC3C

Accessibility & contrast

On white

5.14
#167F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#167F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F1B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F1B#FFFFFF#000000##FFFFFF
##167F1B1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #167f1b;
/* rgb */ color: rgb(22, 127, 27);
/* oklch */ color: oklch(52.1% 0.162 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a55f',
    500: '#167f1b',
    950: '#000000',
  },
}
SCSS
$custom: #167f1b;
$custom-light: #69a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#167f1b",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 122.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.16221,
    "h": 143.3
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#167F1B
secondary
#B43DAE
accent
#3BE5ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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