#167842#167842

#167842 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.121 H 153.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#167842
RGBrgb(22, 120, 66)
HSLhsl(147, 69%, 28%)
HSVhsv(147, 82%, 47%)
CMYKcmyk(81.7%, 0%, 45%, 52.9%)
CIE-LABlab(44.23, -40.20, 22.11)
CIE-LCHlch(44.23, 45.88, 151.20°)
OKLaboklab(50.56% -0.1081 0.0546)
OKLCHoklch(50.56% 0.121 153.2)
XYZxyz(8.0300, 13.9959, 7.4315)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167842 #78164C
analogous
#1B7816 #167842 #167873
triadic
#167842 #421678 #784216
tetradic
#167842 #161B78 #78164C #787316
square
#167842 #161B78 #78164C #787316
split-complementary
#167842 #731678 #78161B
monochromatic
#051A0E #0D4426 #167842 #1FAC5E #2FD97C

Accessibility & contrast

On white

5.53
#167842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#167842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167842
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167842#FFFFFF#000000##FFFFFF
##1678421.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3E
Deuteranopia (green-blind)
#6D6546
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #167842;
/* rgb */ color: rgb(22, 120, 66);
/* oklch */ color: oklch(50.6% 0.121 153.2);
Tailwind
colors: {
  custom: {
    50: '#65a077',
    500: '#167842',
    950: '#000000',
  },
}
SCSS
$custom: #167842;
$custom-light: #65a077;
$custom-dark: #000000;
JSON
{
  "hex": "#167842",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 66
  },
  "hsl": {
    "h": 146.939,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50558,
    "c": 0.12113,
    "h": 153.2
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#167842
secondary
#AD3C7B
accent
#3C9DEC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #167842

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

Preview Lab → · Contrast checker → · Palette generator →

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