#167A42#167A42

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

Color values

HEX#167A42
RGBrgb(22, 122, 66)
HSLhsl(146, 69%, 28%)
HSVhsv(146, 82%, 48%)
CMYKcmyk(82%, 0%, 45.9%, 52.2%)
CIE-LABlab(44.92, -40.98, 23.00)
CIE-LCHlch(44.92, 47.00, 150.70°)
OKLaboklab(51.13% -0.1102 0.0567)
OKLCHoklch(51.13% 0.124 152.8)
XYZxyz(8.2730, 14.4820, 7.5125)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167A42 #7A164E
analogous
#1C7A16 #167A42 #167A74
triadic
#167A42 #42167A #7A4216
tetradic
#167A42 #161C7A #7A164E #7A7416
square
#167A42 #161C7A #7A164E #7A7416
split-complementary
#167A42 #74167A #7A161C
monochromatic
#051A0E #0D4626 #167A42 #1FAE5E #31DA7B

Accessibility & contrast

On white

5.39
#167A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#167A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167A42
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167A42#FFFFFF#000000##FFFFFF
##167A421.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #167a42;
/* rgb */ color: rgb(22, 122, 66);
/* oklch */ color: oklch(51.1% 0.124 152.8);
Tailwind
colors: {
  custom: {
    50: '#66a177',
    500: '#167a42',
    950: '#000000',
  },
}
SCSS
$custom: #167a42;
$custom-light: #66a177;
$custom-dark: #000000;
JSON
{
  "hex": "#167a42",
  "rgb": {
    "r": 22,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 146.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.1239,
    "h": 152.8
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#167A42
secondary
#AF3D7D
accent
#3C9FEC
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #167A42

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

Preview Lab → · Contrast checker → · Palette generator →

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