#164C1F#164C1F

#164C1F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.093 H 146.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#164C1F
RGBrgb(22, 76, 31)
HSLhsl(130, 55%, 19%)
HSVhsv(130, 71%, 30%)
CMYKcmyk(71.1%, 0%, 59.2%, 70.2%)
CIE-LABlab(27.95, -28.62, 21.47)
CIE-LCHlch(27.95, 35.78, 143.12°)
OKLaboklab(36.93% -0.0773 0.0515)
OKLCHoklch(36.93% 0.093 146.3)
XYZxyz(3.1624, 5.4381, 2.1790)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164C1F #4C1643
analogous
#284C16 #164C1F #164C3A
triadic
#164C1F #1F164C #4C1F16
tetradic
#164C1F #16284C #4C1643 #4C3A16
square
#164C1F #16284C #4C1643 #4C3A16
split-complementary
#164C1F #3A164C #4C1628
monochromatic
#07180A #081D0C #164C1F #247B32 #31AB46

Accessibility & contrast

On white

10.06
#164C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#164C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164C1F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164C1F#FFFFFF#000000##FFFFFF
##164C1F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451B
Deuteranopia (green-blind)
#464022
Tritanopia (blue-blind)
#074A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #164c1f;
/* rgb */ color: rgb(22, 76, 31);
/* oklch */ color: oklch(36.9% 0.093 146.3);
Tailwind
colors: {
  custom: {
    50: '#5b7f5c',
    500: '#164c1f',
    950: '#000000',
  },
}
SCSS
$custom: #164c1f;
$custom-light: #5b7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#164c1f",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 31
  },
  "hsl": {
    "h": 130,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.09287,
    "h": 146.3
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#164C1F
secondary
#843A77
accent
#49C6DE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #164C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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