#164F2E#164F2E

#164F2E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.081 H 154.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#164F2E
RGBrgb(22, 79, 46)
HSLhsl(145, 56%, 20%)
HSVhsv(145, 72%, 31%)
CMYKcmyk(72.2%, 0%, 41.8%, 69%)
CIE-LABlab(29.31, -27.08, 14.26)
CIE-LCHlch(29.31, 30.61, 152.22°)
OKLaboklab(38.13% -0.0732 0.0356)
OKLCHoklch(38.13% 0.081 154)
XYZxyz(3.6197, 5.9594, 3.5438)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F2E #4F1637
analogous
#1B4F16 #164F2E #164F4B
triadic
#164F2E #2E164F #4F2E16
tetradic
#164F2E #161B4F #4F1637 #4F4B16
square
#164F2E #161B4F #4F1637 #4F4B16
split-complementary
#164F2E #4B164F #4F161B
monochromatic
#07180E #091F12 #164F2E #237F4A #31AF66

Accessibility & contrast

On white

9.58
#164F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#164F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F2E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F2E#FFFFFF#000000##FFFFFF
##164F2E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#484330
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #164f2e;
/* rgb */ color: rgb(22, 79, 46);
/* oklch */ color: oklch(38.1% 0.081 154.0);
Tailwind
colors: {
  custom: {
    50: '#5b8167',
    500: '#164f2e',
    950: '#000000',
  },
}
SCSS
$custom: #164f2e;
$custom-light: #5b8167;
$custom-dark: #000000;
JSON
{
  "hex": "#164f2e",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 46
  },
  "hsl": {
    "h": 145.263,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38131,
    "c": 0.08144,
    "h": 154
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#164F2E
secondary
#863A66
accent
#48A0E0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #164F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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