#164F0C#164F0C

#164F0C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.113 H 141.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#164F0C
RGBrgb(22, 79, 12)
HSLhsl(111, 74%, 18%)
HSVhsv(111, 85%, 31%)
CMYKcmyk(72.2%, 0%, 84.8%, 69%)
CIE-LABlab(28.87, -32.08, 31.69)
CIE-LCHlch(28.87, 45.10, 135.35°)
OKLaboklab(37.63% -0.0877 0.0709)
OKLCHoklch(37.63% 0.113 141.1)
XYZxyz(3.1931, 5.7888, 1.2968)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F0C #450C4F
analogous
#374F0C #164F0C #0C4F24
triadic
#164F0C #0C164F #4F0C16
tetradic
#164F0C #0C374F #450C4F #4F240C
square
#164F0C #0C374F #450C4F #4F240C
split-complementary
#164F0C #240C4F #4F0C37
monochromatic
#071B04 #071B04 #164F0C #258414 #34B91C

Accessibility & contrast

On white

9.73
#164F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#164F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F0C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F0C#FFFFFF#000000##FFFFFF
##164F0C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#0B4C42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164f0c;
/* rgb */ color: rgb(22, 79, 12);
/* oklch */ color: oklch(37.6% 0.113 141.1);
Tailwind
colors: {
  custom: {
    50: '#5d8151',
    500: '#164f0c',
    950: '#000000',
  },
}
SCSS
$custom: #164f0c;
$custom-light: #5d8151;
$custom-dark: #000000;
JSON
{
  "hex": "#164f0c",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 111.045,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37629,
    "c": 0.11278,
    "h": 141.1
  },
  "luminance": 0.05789
}

Semantic roles & 50–950 ramp

primary
#164F0C
secondary
#7C2C8B
accent
#38F0D5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #164F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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