#164A2C#164A2C

#164A2C is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.6% C 0.076 H 154.5°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#164A2C
RGBrgb(22, 74, 44)
HSLhsl(145, 54%, 19%)
HSVhsv(145, 70%, 29%)
CMYKcmyk(70.3%, 0%, 40.5%, 71%)
CIE-LABlab(27.43, -25.20, 13.01)
CIE-LCHlch(27.43, 28.35, 152.70°)
OKLaboklab(36.58% -0.0682 0.0326)
OKLCHoklch(36.58% 0.076 154.5)
XYZxyz(3.2340, 5.2496, 3.2252)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A2C #4A1634
analogous
#1A4A16 #164A2C #164A46
triadic
#164A2C #2C164A #4A2C16
tetradic
#164A2C #161A4A #4A1634 #4A4616
square
#164A2C #161A4A #4A1634 #4A4616
split-complementary
#164A2C #46164A #4A161A
monochromatic
#07180E #081B10 #164A2C #247948 #32A864

Accessibility & contrast

On white

10.24
#164A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164A2C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A2C#FFFFFF#000000##FFFFFF
##164A2C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442A
Deuteranopia (green-blind)
#433F2E
Tritanopia (blue-blind)
#014942
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #164a2c;
/* rgb */ color: rgb(22, 74, 44);
/* oklch */ color: oklch(36.6% 0.076 154.5);
Tailwind
colors: {
  custom: {
    50: '#5a7d65',
    500: '#164a2c',
    950: '#000000',
  },
}
SCSS
$custom: #164a2c;
$custom-light: #5a7d65;
$custom-dark: #000000;
JSON
{
  "hex": "#164a2c",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 44
  },
  "hsl": {
    "h": 145.385,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.07563,
    "h": 154.5
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#164A2C
secondary
#823A63
accent
#4A9FDE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #164A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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