#164A2A#164A2A

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

Color values

HEX#164A2A
RGBrgb(22, 74, 42)
HSLhsl(143, 54%, 19%)
HSVhsv(143, 70%, 29%)
CMYKcmyk(70.3%, 0%, 43.2%, 71%)
CIE-LABlab(27.39, -25.64, 14.20)
CIE-LCHlch(27.39, 29.31, 151.02°)
OKLaboklab(36.53% -0.0693 0.0354)
OKLCHoklch(36.53% 0.078 153)
XYZxyz(3.1973, 5.2350, 3.0320)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A2A #4A1636
analogous
#1C4A16 #164A2A #164A44
triadic
#164A2A #2A164A #4A2A16
tetradic
#164A2A #161C4A #4A1636 #4A4416
square
#164A2A #161C4A #4A1636 #4A4416
split-complementary
#164A2A #44164A #4A161C
monochromatic
#07180D #081B0F #164A2A #247945 #32A860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##164A2A#FFFFFF#000000##FFFFFF
##164A2A1.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)
#4A4428
Deuteranopia (green-blind)
#433F2C
Tritanopia (blue-blind)
#024942
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #164a2a;
/* rgb */ color: rgb(22, 74, 42);
/* oklch */ color: oklch(36.5% 0.078 153.0);
Tailwind
colors: {
  custom: {
    50: '#5a7d64',
    500: '#164a2a',
    950: '#000000',
  },
}
SCSS
$custom: #164a2a;
$custom-light: #5a7d64;
$custom-dark: #000000;
JSON
{
  "hex": "#164a2a",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 42
  },
  "hsl": {
    "h": 143.077,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3653,
    "c": 0.07784,
    "h": 153
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#164A2A
secondary
#823A66
accent
#4AA5DE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #164A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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