#167840#167840

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

Color values

HEX#167840
RGBrgb(22, 120, 64)
HSLhsl(146, 69%, 28%)
HSVhsv(146, 82%, 47%)
CMYKcmyk(81.7%, 0%, 46.7%, 52.9%)
CIE-LABlab(44.19, -40.59, 23.18)
CIE-LCHlch(44.19, 46.74, 150.27°)
OKLaboklab(50.52% -0.1091 0.0571)
OKLCHoklch(50.52% 0.123 152.4)
XYZxyz(7.9720, 13.9727, 7.1263)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167840 #78164E
analogous
#1D7816 #167840 #167871
triadic
#167840 #401678 #784016
tetradic
#167840 #161D78 #78164E #787116
square
#167840 #161D78 #78164E #787116
split-complementary
#167840 #711678 #78161D
monochromatic
#051A0E #0D4424 #167840 #1FAC5C #2FD978

Accessibility & contrast

On white

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

On black

3.79
#167840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##167840#FFFFFF#000000##FFFFFF
##1678401.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #167840;
/* rgb */ color: rgb(22, 120, 64);
/* oklch */ color: oklch(50.5% 0.123 152.4);
Tailwind
colors: {
  custom: {
    50: '#65a075',
    500: '#167840',
    950: '#000000',
  },
}
SCSS
$custom: #167840;
$custom-light: #65a075;
$custom-dark: #000000;
JSON
{
  "hex": "#167840",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 145.714,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.1231,
    "h": 152.4
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#167840
secondary
#AD3C7D
accent
#3CA0EC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #167840

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

Preview Lab → · Contrast checker → · Palette generator →

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