#167C1F#167C1F

#167C1F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.156 H 143.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#167C1F
RGBrgb(22, 124, 31)
HSLhsl(125, 70%, 29%)
HSVhsv(125, 82%, 49%)
CMYKcmyk(82.3%, 0%, 75%, 51.4%)
CIE-LABlab(45.20, -46.64, 40.62)
CIE-LCHlch(45.20, 61.85, 138.95°)
OKLaboklab(51.23% -0.1262 0.0923)
OKLCHoklch(51.23% 0.156 143.8)
XYZxyz(7.7853, 14.6839, 3.7200)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167C1F #7C1673
analogous
#407C16 #167C1F #167C52
triadic
#167C1F #1F167C #7C1F16
tetradic
#167C1F #16407C #7C1673 #7C5216
square
#167C1F #16407C #7C1673 #7C5216
split-complementary
#167C1F #52167C #7C1640
monochromatic
#051A06 #0D4812 #167C1F #1FB02C #32DB41

Accessibility & contrast

On white

5.33
#167C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#167C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167C1F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167C1F#FFFFFF#000000##FFFFFF
##167C1F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #167c1f;
/* rgb */ color: rgb(22, 124, 31);
/* oklch */ color: oklch(51.2% 0.156 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a361',
    500: '#167c1f',
    950: '#000000',
  },
}
SCSS
$custom: #167c1f;
$custom-light: #68a361;
$custom-dark: #000000;
JSON
{
  "hex": "#167c1f",
  "rgb": {
    "r": 22,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 125.294,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.15634,
    "h": 143.8
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#167C1F
secondary
#B13DA7
accent
#3BDDED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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