#167942#167942

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

Color values

HEX#167942
RGBrgb(22, 121, 66)
HSLhsl(147, 69%, 28%)
HSVhsv(147, 82%, 47%)
CMYKcmyk(81.8%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.57, -40.59, 22.55)
CIE-LCHlch(44.57, 46.44, 150.94°)
OKLaboklab(50.84% -0.1091 0.0557)
OKLCHoklch(50.84% 0.123 153)
XYZxyz(8.1509, 14.2377, 7.4718)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167942 #79164D
analogous
#1B7916 #167942 #167973
triadic
#167942 #421679 #794216
tetradic
#167942 #161B79 #79164D #797316
square
#167942 #161B79 #79164D #797316
split-complementary
#167942 #731679 #79161B
monochromatic
#051A0E #0D4526 #167942 #1FAD5E #30D97B

Accessibility & contrast

On white

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

On black

3.85
#167942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##167942#FFFFFF#000000##FFFFFF
##1679421.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3E
Deuteranopia (green-blind)
#6E6646
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #167942;
/* rgb */ color: rgb(22, 121, 66);
/* oklch */ color: oklch(50.8% 0.123 153.0);
Tailwind
colors: {
  custom: {
    50: '#66a177',
    500: '#167942',
    950: '#000000',
  },
}
SCSS
$custom: #167942;
$custom-light: #66a177;
$custom-dark: #000000;
JSON
{
  "hex": "#167942",
  "rgb": {
    "r": 22,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 146.667,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50843,
    "c": 0.12252,
    "h": 153
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#167942
secondary
#AE3D7C
accent
#3C9EEC
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #167942

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

Preview Lab → · Contrast checker → · Palette generator →

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