#167B40#167B40

#167B40 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.127 H 151.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#167B40
RGBrgb(22, 123, 64)
HSLhsl(145, 70%, 28%)
HSVhsv(145, 82%, 48%)
CMYKcmyk(82.1%, 0%, 48%, 51.8%)
CIE-LABlab(45.23, -41.74, 24.51)
CIE-LCHlch(45.23, 48.41, 149.58°)
OKLaboklab(51.38% -0.1121 0.0601)
OKLCHoklch(51.38% 0.127 151.8)
XYZxyz(8.3385, 14.7056, 7.2485)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B40 #7B1651
analogous
#1F7B16 #167B40 #167B72
triadic
#167B40 #40167B #7B4016
tetradic
#167B40 #161F7B #7B1651 #7B7216
square
#167B40 #161F7B #7B1651 #7B7216
split-complementary
#167B40 #72167B #7B161F
monochromatic
#051A0E #0D4725 #167B40 #1FAF5B #31DA77

Accessibility & contrast

On white

5.33
#167B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#167B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167B40
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167B40#FFFFFF#000000##FFFFFF
##167B401.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703B
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #167b40;
/* rgb */ color: rgb(22, 123, 64);
/* oklch */ color: oklch(51.4% 0.127 151.8);
Tailwind
colors: {
  custom: {
    50: '#66a276',
    500: '#167b40',
    950: '#000000',
  },
}
SCSS
$custom: #167b40;
$custom-light: #66a276;
$custom-dark: #000000;
JSON
{
  "hex": "#167b40",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 144.95,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.12723,
    "h": 151.8
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#167B40
secondary
#B03D80
accent
#3BA3EC
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #167B40

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

Preview Lab → · Contrast checker → · Palette generator →

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