#164E2A#164E2A

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

Color values

HEX#164E2A
RGBrgb(22, 78, 42)
HSLhsl(141, 56%, 20%)
HSVhsv(141, 72%, 31%)
CMYKcmyk(71.8%, 0%, 46.2%, 69.4%)
CIE-LABlab(28.87, -27.47, 16.13)
CIE-LCHlch(28.87, 31.86, 149.58°)
OKLaboklab(37.74% -0.0742 0.0399)
OKLCHoklch(37.74% 0.084 151.7)
XYZxyz(3.4729, 5.7862, 3.1239)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164E2A #4E163A
analogous
#1E4E16 #164E2A #164E46
triadic
#164E2A #2A164E #4E2A16
tetradic
#164E2A #161E4E #4E163A #4E4616
square
#164E2A #161E4E #4E163A #4E4616
split-complementary
#164E2A #46164E #4E161E
monochromatic
#07180D #091E10 #164E2A #237E44 #31AD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##164E2A#FFFFFF#000000##FFFFFF
##164E2A1.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)
#4E4727
Deuteranopia (green-blind)
#47422C
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164e2a;
/* rgb */ color: rgb(22, 78, 42);
/* oklch */ color: oklch(37.7% 0.084 151.7);
Tailwind
colors: {
  custom: {
    50: '#5b8064',
    500: '#164e2a',
    950: '#000000',
  },
}
SCSS
$custom: #164e2a;
$custom-light: #5b8064;
$custom-dark: #000000;
JSON
{
  "hex": "#164e2a",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 141.429,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37741,
    "c": 0.08422,
    "h": 151.7
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#164E2A
secondary
#853A6B
accent
#49A9DF
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #164E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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