#164D18#164D18

#164D18 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.101 H 143.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#164D18
RGBrgb(22, 77, 24)
HSLhsl(122, 56%, 19%)
HSVhsv(122, 71%, 30%)
CMYKcmyk(71.4%, 0%, 68.8%, 69.8%)
CIE-LABlab(28.23, -30.06, 25.62)
CIE-LCHlch(28.23, 39.49, 139.56°)
OKLaboklab(37.13% -0.0815 0.0598)
OKLCHoklch(37.13% 0.101 143.7)
XYZxyz(3.1494, 5.5440, 1.7681)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D18 #4D164B
analogous
#304D16 #164D18 #164D34
triadic
#164D18 #18164D #4D1816
tetradic
#164D18 #16304D #4D164B #4D3416
square
#164D18 #16304D #4D164B #4D3416
split-complementary
#164D18 #34164D #4D1630
monochromatic
#071807 #081D09 #164D18 #247D27 #31AC36

Accessibility & contrast

On white

9.96
#164D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#164D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164D18
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D18#FFFFFF#000000##FFFFFF
##164D181.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4512
Deuteranopia (green-blind)
#48411C
Tritanopia (blue-blind)
#094B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164d18;
/* rgb */ color: rgb(22, 77, 24);
/* oklch */ color: oklch(37.1% 0.101 143.7);
Tailwind
colors: {
  custom: {
    50: '#5c7f57',
    500: '#164d18',
    950: '#000000',
  },
}
SCSS
$custom: #164d18;
$custom-light: #5c7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#164d18",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 122.182,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.10111,
    "h": 143.7
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#164D18
secondary
#853A82
accent
#49D9DF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #164D18

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

Preview Lab → · Contrast checker → · Palette generator →

#164D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva