#164A23#164A23

#164A23 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.086 H 148.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#164A23
RGBrgb(22, 74, 35)
HSLhsl(135, 54%, 19%)
HSVhsv(135, 70%, 29%)
CMYKcmyk(70.3%, 0%, 52.7%, 71%)
CIE-LABlab(27.27, -27.04, 18.30)
CIE-LCHlch(27.27, 32.65, 145.91°)
OKLaboklab(36.38% -0.073 0.0446)
OKLCHoklch(36.38% 0.086 148.6)
XYZxyz(3.0828, 5.1892, 2.4289)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A23 #4A163D
analogous
#234A16 #164A23 #164A3D
triadic
#164A23 #23164A #4A2316
tetradic
#164A23 #16234A #4A163D #4A3D16
square
#164A23 #16234A #4A163D #4A3D16
split-complementary
#164A23 #3D164A #4A1623
monochromatic
#07180B #081B0D #164A23 #247939 #32A850

Accessibility & contrast

On white

10.31
#164A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#164A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164A23
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A23#FFFFFF#000000##FFFFFF
##164A231.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4320
Deuteranopia (green-blind)
#443F26
Tritanopia (blue-blind)
#064841
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #164a23;
/* rgb */ color: rgb(22, 74, 35);
/* oklch */ color: oklch(36.4% 0.086 148.6);
Tailwind
colors: {
  custom: {
    50: '#5a7d5e',
    500: '#164a23',
    950: '#000000',
  },
}
SCSS
$custom: #164a23;
$custom-light: #5a7d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#164a23",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 35
  },
  "hsl": {
    "h": 135,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36384,
    "c": 0.08555,
    "h": 148.6
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#164A23
secondary
#823A70
accent
#4AB9DE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #164A23

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

Preview Lab → · Contrast checker → · Palette generator →

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