#167C1A#167C1A

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

Color values

HEX#167C1A
RGBrgb(22, 124, 26)
HSLhsl(122, 70%, 29%)
HSVhsv(122, 82%, 49%)
CMYKcmyk(82.3%, 0%, 79%, 51.4%)
CIE-LABlab(45.16, -47.06, 42.48)
CIE-LCHlch(45.16, 63.40, 137.93°)
OKLaboklab(51.19% -0.1275 0.0955)
OKLCHoklch(51.19% 0.159 143.2)
XYZxyz(7.7245, 14.6595, 3.3995)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167C1A #7C1678
analogous
#457C16 #167C1A #167C4D
triadic
#167C1A #1A167C #7C1A16
tetradic
#167C1A #16457C #7C1678 #7C4D16
square
#167C1A #16457C #7C1678 #7C4D16
split-complementary
#167C1A #4D167C #7C1645
monochromatic
#051A05 #0D480F #167C1A #1FB025 #32DB38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167C1A#FFFFFF#000000##FFFFFF
##167C1A1.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)
#7F6F04
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #167c1a;
/* rgb */ color: rgb(22, 124, 26);
/* oklch */ color: oklch(51.2% 0.159 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a35e',
    500: '#167c1a',
    950: '#000000',
  },
}
SCSS
$custom: #167c1a;
$custom-light: #68a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#167c1a",
  "rgb": {
    "r": 22,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 122.353,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.15933,
    "h": 143.2
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#167C1A
secondary
#B13DAC
accent
#3BE6ED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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