#164F20#164F20

#164F20 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.096 H 146.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#164F20
RGBrgb(22, 79, 32)
HSLhsl(131, 56%, 20%)
HSVhsv(131, 72%, 31%)
CMYKcmyk(72.2%, 0%, 59.5%, 69%)
CIE-LABlab(29.07, -29.74, 22.27)
CIE-LCHlch(29.07, 37.15, 143.18°)
OKLaboklab(37.86% -0.0803 0.0533)
OKLCHoklch(37.86% 0.096 146.4)
XYZxyz(3.3873, 5.8665, 2.3200)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F20 #4F1645
analogous
#294F16 #164F20 #164F3D
triadic
#164F20 #20164F #4F2016
tetradic
#164F20 #16294F #4F1645 #4F3D16
square
#164F20 #16294F #4F1645 #4F3D16
split-complementary
#164F20 #3D164F #4F1629
monochromatic
#07180A #091F0D #164F20 #237F33 #31AF47

Accessibility & contrast

On white

9.66
#164F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#164F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F20
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F20#FFFFFF#000000##FFFFFF
##164F201.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471C
Deuteranopia (green-blind)
#494324
Tritanopia (blue-blind)
#054D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #164f20;
/* rgb */ color: rgb(22, 79, 32);
/* oklch */ color: oklch(37.9% 0.096 146.4);
Tailwind
colors: {
  custom: {
    50: '#5c815d',
    500: '#164f20',
    950: '#000000',
  },
}
SCSS
$custom: #164f20;
$custom-light: #5c815d;
$custom-dark: #000000;
JSON
{
  "hex": "#164f20",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 32
  },
  "hsl": {
    "h": 130.526,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.09638,
    "h": 146.4
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#164F20
secondary
#863A79
accent
#48C5E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #164F20

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

Preview Lab → · Contrast checker → · Palette generator →

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