#167940#167940

#167940 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.124 H 152.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#167940
RGBrgb(22, 121, 64)
HSLhsl(145, 69%, 28%)
HSVhsv(145, 82%, 47%)
CMYKcmyk(81.8%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.54, -40.98, 23.63)
CIE-LCHlch(44.54, 47.30, 150.03°)
OKLaboklab(50.81% -0.1101 0.0581)
OKLCHoklch(50.81% 0.124 152.2)
XYZxyz(8.0929, 14.2145, 7.1666)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167940 #79164F
analogous
#1D7916 #167940 #167972
triadic
#167940 #401679 #794016
tetradic
#167940 #161D79 #79164F #797216
square
#167940 #161D79 #79164F #797216
split-complementary
#167940 #721679 #79161D
monochromatic
#051A0E #0D4525 #167940 #1FAD5B #30D978

Accessibility & contrast

On white

5.46
#167940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#167940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167940
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167940#FFFFFF#000000##FFFFFF
##1679401.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #167940;
/* rgb */ color: rgb(22, 121, 64);
/* oklch */ color: oklch(50.8% 0.124 152.2);
Tailwind
colors: {
  custom: {
    50: '#66a175',
    500: '#167940',
    950: '#000000',
  },
}
SCSS
$custom: #167940;
$custom-light: #66a175;
$custom-dark: #000000;
JSON
{
  "hex": "#167940",
  "rgb": {
    "r": 22,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 145.455,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50805,
    "c": 0.12448,
    "h": 152.2
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#167940
secondary
#AE3D7E
accent
#3CA1EC
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #167940

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

Preview Lab → · Contrast checker → · Palette generator →

#167940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva