#167C1B#167C1B

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

Color values

HEX#167C1B
RGBrgb(22, 124, 27)
HSLhsl(123, 70%, 29%)
HSVhsv(123, 82%, 49%)
CMYKcmyk(82.3%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.17, -46.98, 42.12)
CIE-LCHlch(45.17, 63.10, 138.12°)
OKLaboklab(51.2% -0.1273 0.0949)
OKLCHoklch(51.2% 0.159 143.3)
XYZxyz(7.7359, 14.6641, 3.4594)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167C1B #7C1677
analogous
#447C16 #167C1B #167C4E
triadic
#167C1B #1B167C #7C1B16
tetradic
#167C1B #16447C #7C1677 #7C4E16
square
#167C1B #16447C #7C1677 #7C4E16
split-complementary
#167C1B #4E167C #7C1644
monochromatic
#051A06 #0D4810 #167C1B #1FB026 #32DB3A

Accessibility & contrast

On white

5.34
#167C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#167C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167C1B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167C1B#FFFFFF#000000##FFFFFF
##167C1B1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #167c1b;
/* rgb */ color: rgb(22, 124, 27);
/* oklch */ color: oklch(51.2% 0.159 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a35f',
    500: '#167c1b',
    950: '#000000',
  },
}
SCSS
$custom: #167c1b;
$custom-light: #68a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#167c1b",
  "rgb": {
    "r": 22,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 122.941,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51197,
    "c": 0.15876,
    "h": 143.3
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#167C1B
secondary
#B13DAB
accent
#3BE4ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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