#164A17#164A17

#164A17 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.098 H 143.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#164A17
RGBrgb(22, 74, 23)
HSLhsl(121, 54%, 19%)
HSVhsv(121, 70%, 29%)
CMYKcmyk(70.3%, 0%, 68.9%, 71%)
CIE-LABlab(27.10, -28.93, 24.86)
CIE-LCHlch(27.10, 38.15, 139.33°)
OKLaboklab(36.19% -0.0785 0.0581)
OKLCHoklch(36.19% 0.098 143.5)
XYZxyz(2.9341, 5.1297, 1.6459)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A17 #4A1649
analogous
#2F4A16 #164A17 #164A31
triadic
#164A17 #17164A #4A1716
tetradic
#164A17 #162F4A #4A1649 #4A3116
square
#164A17 #162F4A #4A1649 #4A3116
split-complementary
#164A17 #31164A #4A162F
monochromatic
#071807 #081B08 #164A17 #247926 #32A834

Accessibility & contrast

On white

10.37
#164A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#164A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164A17
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A17#FFFFFF#000000##FFFFFF
##164A171.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4311
Deuteranopia (green-blind)
#453E1B
Tritanopia (blue-blind)
#0B483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #164a17;
/* rgb */ color: rgb(22, 74, 23);
/* oklch */ color: oklch(36.2% 0.098 143.5);
Tailwind
colors: {
  custom: {
    50: '#5b7d56',
    500: '#164a17',
    950: '#000000',
  },
}
SCSS
$custom: #164a17;
$custom-light: #5b7d56;
$custom-dark: #000000;
JSON
{
  "hex": "#164a17",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 121.154,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36193,
    "c": 0.09767,
    "h": 143.5
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#164A17
secondary
#823A80
accent
#4ADBDE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #164A17

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

Preview Lab → · Contrast checker → · Palette generator →

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