#167A1F#167A1F

#167A1F is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.154 H 143.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#167A1F
RGBrgb(22, 122, 31)
HSLhsl(125, 69%, 28%)
HSVhsv(125, 82%, 48%)
CMYKcmyk(82%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.50, -45.97, 39.90)
CIE-LCHlch(44.50, 60.87, 139.04°)
OKLaboklab(50.65% -0.1243 0.0908)
OKLCHoklch(50.65% 0.154 143.9)
XYZxyz(7.5372, 14.1877, 3.6373)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167A1F #7A1671
analogous
#3F7A16 #167A1F #167A51
triadic
#167A1F #1F167A #7A1F16
tetradic
#167A1F #163F7A #7A1671 #7A5116
square
#167A1F #163F7A #7A1671 #7A5116
split-complementary
#167A1F #51167A #7A163F
monochromatic
#051A07 #0D4612 #167A1F #1FAE2C #31DA40

Accessibility & contrast

On white

5.47
#167A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#167A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167A1F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167A1F#FFFFFF#000000##FFFFFF
##167A1F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E10
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #167a1f;
/* rgb */ color: rgb(22, 122, 31);
/* oklch */ color: oklch(50.6% 0.154 143.9);
Tailwind
colors: {
  custom: {
    50: '#67a161',
    500: '#167a1f',
    950: '#000000',
  },
}
SCSS
$custom: #167a1f;
$custom-light: #67a161;
$custom-dark: #000000;
JSON
{
  "hex": "#167a1f",
  "rgb": {
    "r": 22,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 125.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.15396,
    "h": 143.9
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#167A1F
secondary
#AF3DA5
accent
#3CDCEC
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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