#164B0C#164B0C

#164B0C is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.108 H 140.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#164B0C
RGBrgb(22, 75, 12)
HSLhsl(110, 72%, 17%)
HSVhsv(110, 84%, 29%)
CMYKcmyk(70.7%, 0%, 84%, 70.6%)
CIE-LABlab(27.38, -30.50, 30.24)
CIE-LCHlch(27.38, 42.95, 135.24°)
OKLaboklab(36.39% -0.0834 0.0678)
OKLCHoklch(36.39% 0.108 140.9)
XYZxyz(2.9132, 5.2290, 1.2035)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164B0C #410C4B
analogous
#364B0C #164B0C #0C4B22
triadic
#164B0C #0C164B #4B0C16
tetradic
#164B0C #0C364B #410C4B #4B220C
square
#164B0C #0C364B #410C4B #4B220C
split-complementary
#164B0C #220C4B #4B0C36
monochromatic
#081A04 #081A04 #164B0C #258014 #35B51D

Accessibility & contrast

On white

10.26
#164B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#164B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164B0C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164B0C#FFFFFF#000000##FFFFFF
##164B0C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4301
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#0D483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #164b0c;
/* rgb */ color: rgb(22, 75, 12);
/* oklch */ color: oklch(36.4% 0.108 140.9);
Tailwind
colors: {
  custom: {
    50: '#5c7e50',
    500: '#164b0c',
    950: '#000000',
  },
}
SCSS
$custom: #164b0c;
$custom-light: #5c7e50;
$custom-dark: #000000;
JSON
{
  "hex": "#164b0c",
  "rgb": {
    "r": 22,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 110.476,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.10753,
    "h": 140.9
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#164B0C
secondary
#782C87
accent
#39EFD2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #164B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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