#164F1F#164F1F

#164F1F is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.097 H 146.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#164F1F
RGBrgb(22, 79, 31)
HSLhsl(129, 56%, 20%)
HSVhsv(129, 72%, 31%)
CMYKcmyk(72.2%, 0%, 60.8%, 69%)
CIE-LABlab(29.06, -29.90, 22.81)
CIE-LCHlch(29.06, 37.60, 142.66°)
OKLaboklab(37.84% -0.0808 0.0544)
OKLCHoklch(37.84% 0.097 146)
XYZxyz(3.3740, 5.8611, 2.2496)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F1F #4F1646
analogous
#294F16 #164F1F #164F3C
triadic
#164F1F #1F164F #4F1F16
tetradic
#164F1F #16294F #4F1646 #4F3C16
square
#164F1F #16294F #4F1646 #4F3C16
split-complementary
#164F1F #3C164F #4F1629
monochromatic
#071809 #091F0C #164F1F #237F32 #31AF45

Accessibility & contrast

On white

9.67
#164F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#164F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F1F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F1F#FFFFFF#000000##FFFFFF
##164F1F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471A
Deuteranopia (green-blind)
#494323
Tritanopia (blue-blind)
#054D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164f1f;
/* rgb */ color: rgb(22, 79, 31);
/* oklch */ color: oklch(37.8% 0.097 146.0);
Tailwind
colors: {
  custom: {
    50: '#5c815c',
    500: '#164f1f',
    950: '#000000',
  },
}
SCSS
$custom: #164f1f;
$custom-light: #5c815c;
$custom-dark: #000000;
JSON
{
  "hex": "#164f1f",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 31
  },
  "hsl": {
    "h": 129.474,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37843,
    "c": 0.09738,
    "h": 146
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#164F1F
secondary
#863A7A
accent
#48C8E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #164F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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