#167F1F#167F1F

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

Color values

HEX#167F1F
RGBrgb(22, 127, 31)
HSLhsl(125, 70%, 29%)
HSVhsv(125, 83%, 50%)
CMYKcmyk(82.7%, 0%, 75.6%, 50.2%)
CIE-LABlab(46.24, -47.64, 41.68)
CIE-LCHlch(46.24, 63.30, 138.82°)
OKLaboklab(52.1% -0.1289 0.0945)
OKLCHoklch(52.1% 0.16 143.7)
XYZxyz(8.1670, 15.4473, 3.8472)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F1F #7F1676
analogous
#427F16 #167F1F #167F54
triadic
#167F1F #1F167F #7F1F16
tetradic
#167F1F #16427F #7F1676 #7F5416
square
#167F1F #16427F #7F1676 #7F5416
split-complementary
#167F1F #54167F #7F1642
monochromatic
#051A06 #0D4B12 #167F1F #1FB32C #34DC42

Accessibility & contrast

On white

5.13
#167F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #167F1F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F1F#FFFFFF#000000##FFFFFF
##167F1F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720D
Deuteranopia (green-blind)
#766B29
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #167f1f;
/* rgb */ color: rgb(22, 127, 31);
/* oklch */ color: oklch(52.1% 0.160 143.7);
Tailwind
colors: {
  custom: {
    50: '#69a561',
    500: '#167f1f',
    950: '#000000',
  },
}
SCSS
$custom: #167f1f;
$custom-light: #69a561;
$custom-dark: #000000;
JSON
{
  "hex": "#167f1f",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 125.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.15984,
    "h": 143.7
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

primary
#167F1F
secondary
#B43DAA
accent
#3BDEED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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