#164A18#164A18

#164A18 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.097 H 143.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#164A18
RGBrgb(22, 74, 24)
HSLhsl(122, 54%, 19%)
HSVhsv(122, 70%, 29%)
CMYKcmyk(70.3%, 0%, 67.6%, 71%)
CIE-LABlab(27.11, -28.80, 24.35)
CIE-LCHlch(27.11, 37.71, 139.79°)
OKLaboklab(36.21% -0.0781 0.0571)
OKLCHoklch(36.21% 0.097 143.8)
XYZxyz(2.9444, 5.1338, 1.6997)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A18 #4A1648
analogous
#2E4A16 #164A18 #164A32
triadic
#164A18 #18164A #4A1816
tetradic
#164A18 #162E4A #4A1648 #4A3216
square
#164A18 #162E4A #4A1648 #4A3216
split-complementary
#164A18 #32164A #4A162E
monochromatic
#071808 #081B09 #164A18 #247927 #32A837

Accessibility & contrast

On white

10.36
#164A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#164A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164A18
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A18#FFFFFF#000000##FFFFFF
##164A181.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#453E1C
Tritanopia (blue-blind)
#0A483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #164a18;
/* rgb */ color: rgb(22, 74, 24);
/* oklch */ color: oklch(36.2% 0.097 143.8);
Tailwind
colors: {
  custom: {
    50: '#5b7d57',
    500: '#164a18',
    950: '#000000',
  },
}
SCSS
$custom: #164a18;
$custom-light: #5b7d57;
$custom-dark: #000000;
JSON
{
  "hex": "#164a18",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 122.308,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36206,
    "c": 0.09676,
    "h": 143.8
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#164A18
secondary
#823A7F
accent
#4AD8DE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #164A18

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

Preview Lab → · Contrast checker → · Palette generator →

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