#167B1F#167B1F

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

Color values

HEX#167B1F
RGBrgb(22, 123, 31)
HSLhsl(125, 70%, 28%)
HSVhsv(125, 82%, 48%)
CMYKcmyk(82.1%, 0%, 74.8%, 51.8%)
CIE-LABlab(44.85, -46.30, 40.26)
CIE-LCHlch(44.85, 61.36, 139.00°)
OKLaboklab(50.94% -0.1253 0.0916)
OKLCHoklch(50.94% 0.155 143.8)
XYZxyz(7.6606, 14.4345, 3.6785)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B1F #7B1672
analogous
#3F7B16 #167B1F #167B51
triadic
#167B1F #1F167B #7B1F16
tetradic
#167B1F #163F7B #7B1672 #7B5116
square
#167B1F #163F7B #7B1672 #7B5116
split-complementary
#167B1F #51167B #7B163F
monochromatic
#051A07 #0D4712 #167B1F #1FAF2C #31DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167B1F#FFFFFF#000000##FFFFFF
##167B1F1.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)
#7E6F0F
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167b1f;
/* rgb */ color: rgb(22, 123, 31);
/* oklch */ color: oklch(50.9% 0.155 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a261',
    500: '#167b1f',
    950: '#000000',
  },
}
SCSS
$custom: #167b1f;
$custom-light: #68a261;
$custom-dark: #000000;
JSON
{
  "hex": "#167b1f",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 125.347,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.15515,
    "h": 143.8
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#167B1F
secondary
#B03DA6
accent
#3BDDEC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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