#164D1F#164D1F

#164D1F is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.094 H 146.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#164D1F
RGBrgb(22, 77, 31)
HSLhsl(130, 56%, 19%)
HSVhsv(130, 71%, 30%)
CMYKcmyk(71.4%, 0%, 59.7%, 69.8%)
CIE-LABlab(28.32, -29.04, 21.92)
CIE-LCHlch(28.32, 36.39, 142.96°)
OKLaboklab(37.23% -0.0785 0.0525)
OKLCHoklch(37.23% 0.094 146.2)
XYZxyz(3.2319, 5.5769, 2.2022)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D1F #4D1644
analogous
#294D16 #164D1F #164D3B
triadic
#164D1F #1F164D #4D1F16
tetradic
#164D1F #16294D #4D1644 #4D3B16
square
#164D1F #16294D #4D1644 #4D3B16
split-complementary
#164D1F #3B164D #4D1629
monochromatic
#07180A #081D0C #164D1F #247D32 #31AC45

Accessibility & contrast

On white

9.93
#164D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#164D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164D1F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D1F#FFFFFF#000000##FFFFFF
##164D1F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461B
Deuteranopia (green-blind)
#474122
Tritanopia (blue-blind)
#064B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164d1f;
/* rgb */ color: rgb(22, 77, 31);
/* oklch */ color: oklch(37.2% 0.094 146.2);
Tailwind
colors: {
  custom: {
    50: '#5b7f5c',
    500: '#164d1f',
    950: '#000000',
  },
}
SCSS
$custom: #164d1f;
$custom-light: #5b7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#164d1f",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 31
  },
  "hsl": {
    "h": 129.818,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.09439,
    "h": 146.2
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#164D1F
secondary
#853A78
accent
#49C6DF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #164D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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