#164C2F#164C2F

#164C2F is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.3% C 0.076 H 156.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#164C2F
RGBrgb(22, 76, 47)
HSLhsl(148, 55%, 19%)
HSVhsv(148, 71%, 30%)
CMYKcmyk(71.1%, 0%, 38.2%, 70.2%)
CIE-LABlab(28.23, -25.46, 12.20)
CIE-LCHlch(28.23, 28.23, 154.39°)
OKLaboklab(37.25% -0.0691 0.0307)
OKLCHoklch(37.25% 0.076 156)
XYZxyz(3.4281, 5.5443, 3.5783)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164C2F #4C1633
analogous
#184C16 #164C2F #164C4A
triadic
#164C2F #2F164C #4C2F16
tetradic
#164C2F #16184C #4C1633 #4C4A16
square
#164C2F #16184C #4C1633 #4C4A16
split-complementary
#164C2F #4A164C #4C1618
monochromatic
#07180F #081D12 #164C2F #247B4C #31AB6A

Accessibility & contrast

On white

9.96
#164C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#164C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164C2F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164C2F#FFFFFF#000000##FFFFFF
##164C2F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#454131
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164c2f;
/* rgb */ color: rgb(22, 76, 47);
/* oklch */ color: oklch(37.3% 0.076 156.0);
Tailwind
colors: {
  custom: {
    50: '#5b7e67',
    500: '#164c2f',
    950: '#000000',
  },
}
SCSS
$custom: #164c2f;
$custom-light: #5b7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#164c2f",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 47
  },
  "hsl": {
    "h": 147.778,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37253,
    "c": 0.07559,
    "h": 156
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#164C2F
secondary
#843A62
accent
#4999DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #164C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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