#164E1F#164E1F

#164E1F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.096 H 146.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#164E1F
RGBrgb(22, 78, 31)
HSLhsl(130, 56%, 20%)
HSVhsv(130, 72%, 31%)
CMYKcmyk(71.8%, 0%, 60.3%, 69.4%)
CIE-LABlab(28.69, -29.47, 22.37)
CIE-LCHlch(28.69, 37.00, 142.81°)
OKLaboklab(37.54% -0.0796 0.0535)
OKLCHoklch(37.54% 0.096 146.1)
XYZxyz(3.3024, 5.7179, 2.2257)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164E1F #4E1645
analogous
#294E16 #164E1F #164E3B
triadic
#164E1F #1F164E #4E1F16
tetradic
#164E1F #16294E #4E1645 #4E3B16
square
#164E1F #16294E #4E1645 #4E3B16
split-complementary
#164E1F #3B164E #4E1629
monochromatic
#071809 #091E0C #164E1F #237E32 #31AD45

Accessibility & contrast

On white

9.80
#164E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#164E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164E1F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164E1F#FFFFFF#000000##FFFFFF
##164E1F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471B
Deuteranopia (green-blind)
#484223
Tritanopia (blue-blind)
#064C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164e1f;
/* rgb */ color: rgb(22, 78, 31);
/* oklch */ color: oklch(37.5% 0.096 146.1);
Tailwind
colors: {
  custom: {
    50: '#5c805c',
    500: '#164e1f',
    950: '#000000',
  },
}
SCSS
$custom: #164e1f;
$custom-light: #5c805c;
$custom-dark: #000000;
JSON
{
  "hex": "#164e1f",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 129.643,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37538,
    "c": 0.0959,
    "h": 146.1
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#164E1F
secondary
#853A79
accent
#49C7DF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #164E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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