#167A40#167A40

#167A40 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.126 H 152.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#167A40
RGBrgb(22, 122, 64)
HSLhsl(145, 69%, 28%)
HSVhsv(145, 82%, 48%)
CMYKcmyk(82%, 0%, 47.5%, 52.2%)
CIE-LABlab(44.88, -41.36, 24.07)
CIE-LCHlch(44.88, 47.85, 149.80°)
OKLaboklab(51.09% -0.1111 0.0591)
OKLCHoklch(51.09% 0.126 152)
XYZxyz(8.2151, 14.4588, 7.2074)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167A40 #7A1650
analogous
#1E7A16 #167A40 #167A72
triadic
#167A40 #40167A #7A4016
tetradic
#167A40 #161E7A #7A1650 #7A7216
square
#167A40 #161E7A #7A1650 #7A7216
split-complementary
#167A40 #72167A #7A161E
monochromatic
#051A0E #0D4625 #167A40 #1FAE5B #31DA78

Accessibility & contrast

On white

5.40
#167A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#167A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167A40
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167A40#FFFFFF#000000##FFFFFF
##167A401.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167a40;
/* rgb */ color: rgb(22, 122, 64);
/* oklch */ color: oklch(51.1% 0.126 152.0);
Tailwind
colors: {
  custom: {
    50: '#66a176',
    500: '#167a40',
    950: '#000000',
  },
}
SCSS
$custom: #167a40;
$custom-light: #66a176;
$custom-dark: #000000;
JSON
{
  "hex": "#167a40",
  "rgb": {
    "r": 22,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 145.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.12586,
    "h": 152
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#167A40
secondary
#AF3D7F
accent
#3CA2EC
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #167A40

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

Preview Lab → · Contrast checker → · Palette generator →

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