#164D27#164D27

#164D27 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.086 H 150.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#164D27
RGBrgb(22, 77, 39)
HSLhsl(139, 56%, 19%)
HSVhsv(139, 71%, 30%)
CMYKcmyk(71.4%, 0%, 49.4%, 69.8%)
CIE-LABlab(28.44, -27.63, 17.40)
CIE-LCHlch(28.44, 32.65, 147.80°)
OKLaboklab(37.38% -0.0745 0.0428)
OKLCHoklch(37.38% 0.086 150.2)
XYZxyz(3.3507, 5.6245, 2.8281)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164D27 #4D163C
analogous
#214D16 #164D27 #164D43
triadic
#164D27 #27164D #4D2716
tetradic
#164D27 #16214D #4D163C #4D4316
square
#164D27 #16214D #4D163C #4D4316
split-complementary
#164D27 #43164D #4D1621
monochromatic
#07180C #081D0F #164D27 #247D3F #31AC57

Accessibility & contrast

On white

9.88
#164D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#164D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164D27
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164D27#FFFFFF#000000##FFFFFF
##164D271.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4624
Deuteranopia (green-blind)
#47412A
Tritanopia (blue-blind)
#024C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164d27;
/* rgb */ color: rgb(22, 77, 39);
/* oklch */ color: oklch(37.4% 0.086 150.2);
Tailwind
colors: {
  custom: {
    50: '#5b7f61',
    500: '#164d27',
    950: '#000000',
  },
}
SCSS
$custom: #164d27;
$custom-light: #5b7f61;
$custom-dark: #000000;
JSON
{
  "hex": "#164d27",
  "rgb": {
    "r": 22,
    "g": 77,
    "b": 39
  },
  "hsl": {
    "h": 138.545,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.08592,
    "h": 150.2
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#164D27
secondary
#853A6E
accent
#49B1DF
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #164D27

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

Preview Lab → · Contrast checker → · Palette generator →

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