#164F0F#164F0F

#164F0F is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.111 H 141.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#164F0F
RGBrgb(22, 79, 15)
HSLhsl(113, 68%, 18%)
HSVhsv(113, 81%, 31%)
CMYKcmyk(72.2%, 0%, 81%, 69%)
CIE-LABlab(28.89, -31.84, 30.53)
CIE-LCHlch(28.89, 44.11, 136.20°)
OKLaboklab(37.65% -0.0869 0.0689)
OKLCHoklch(37.65% 0.111 141.6)
XYZxyz(3.2129, 5.7967, 1.4014)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F0F #480F4F
analogous
#364F0F #164F0F #0F4F28
triadic
#164F0F #0F164F #4F0F16
tetradic
#164F0F #0F364F #480F4F #4F280F
square
#164F0F #0F364F #480F4F #4F280F
split-complementary
#164F0F #280F4F #4F0F36
monochromatic
#071A05 #081C05 #164F0F #248219 #33B623

Accessibility & contrast

On white

9.72
#164F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#164F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F0F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F0F#FFFFFF#000000##FFFFFF
##164F0F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#0B4C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164f0f;
/* rgb */ color: rgb(22, 79, 15);
/* oklch */ color: oklch(37.7% 0.111 141.6);
Tailwind
colors: {
  custom: {
    50: '#5d8152',
    500: '#164f0f',
    950: '#000000',
  },
}
SCSS
$custom: #164f0f;
$custom-light: #5d8152;
$custom-dark: #000000;
JSON
{
  "hex": "#164f0f",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 113.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37653,
    "c": 0.1109,
    "h": 141.6
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#164F0F
secondary
#7F3189
accent
#3DEBD8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #164F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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