#164F31#164F31

#164F31 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.078 H 156.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#164F31
RGBrgb(22, 79, 49)
HSLhsl(148, 56%, 20%)
HSVhsv(148, 72%, 31%)
CMYKcmyk(72.2%, 0%, 38%, 69%)
CIE-LABlab(29.37, -26.40, 12.49)
CIE-LCHlch(29.37, 29.21, 154.68°)
OKLaboklab(38.2% -0.0716 0.0314)
OKLCHoklch(38.2% 0.078 156.3)
XYZxyz(3.6809, 5.9839, 3.8662)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F31 #4F1634
analogous
#174F16 #164F31 #164F4E
triadic
#164F31 #31164F #4F3116
tetradic
#164F31 #16174F #4F1634 #4F4E16
square
#164F31 #16174F #4F1634 #4F4E16
split-complementary
#164F31 #4E164F #4F1617
monochromatic
#07180F #091F13 #164F31 #237F4F #31AF6C

Accessibility & contrast

On white

9.56
#164F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#164F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F31
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F31#FFFFFF#000000##FFFFFF
##164F311.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #164f31;
/* rgb */ color: rgb(22, 79, 49);
/* oklch */ color: oklch(38.2% 0.078 156.3);
Tailwind
colors: {
  custom: {
    50: '#5b8169',
    500: '#164f31',
    950: '#000000',
  },
}
SCSS
$custom: #164f31;
$custom-light: #5b8169;
$custom-dark: #000000;
JSON
{
  "hex": "#164f31",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 49
  },
  "hsl": {
    "h": 148.421,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38203,
    "c": 0.07822,
    "h": 156.3
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#164F31
secondary
#863A62
accent
#4898E0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #164F31

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

Preview Lab → · Contrast checker → · Palette generator →

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