#164F2F#164F2F

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

Color values

HEX#164F2F
RGBrgb(22, 79, 47)
HSLhsl(146, 56%, 20%)
HSVhsv(146, 72%, 31%)
CMYKcmyk(72.2%, 0%, 40.5%, 69%)
CIE-LABlab(29.33, -26.86, 13.68)
CIE-LCHlch(29.33, 30.14, 153.02°)
OKLaboklab(38.16% -0.0727 0.0343)
OKLCHoklch(38.16% 0.08 154.8)
XYZxyz(3.6396, 5.9674, 3.6488)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F2F #4F1636
analogous
#194F16 #164F2F #164F4C
triadic
#164F2F #2F164F #4F2F16
tetradic
#164F2F #16194F #4F1636 #4F4C16
square
#164F2F #16194F #4F1636 #4F4C16
split-complementary
#164F2F #4C164F #4F1619
monochromatic
#07180E #091F13 #164F2F #237F4B #31AF68

Accessibility & contrast

On white

9.57
#164F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#164F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F2F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F2F#FFFFFF#000000##FFFFFF
##164F2F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #164f2f;
/* rgb */ color: rgb(22, 79, 47);
/* oklch */ color: oklch(38.2% 0.080 154.8);
Tailwind
colors: {
  custom: {
    50: '#5b8167',
    500: '#164f2f',
    950: '#000000',
  },
}
SCSS
$custom: #164f2f;
$custom-light: #5b8167;
$custom-dark: #000000;
JSON
{
  "hex": "#164f2f",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 146.316,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38155,
    "c": 0.08036,
    "h": 154.8
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#164F2F
secondary
#863A65
accent
#489DE0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #164F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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