#162F22#162F22

#162F22 is a dark, muted green. Relative luminance 0.023; OKLCH L 28.0% C 0.040 H 159.7°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#162F22
RGBrgb(22, 47, 34)
HSLhsl(149, 36%, 14%)
HSVhsv(149, 53%, 18%)
CMYKcmyk(53.2%, 0%, 27.7%, 81.6%)
CIE-LABlab(17.08, -13.49, 5.39)
CIE-LCHlch(17.08, 14.52, 158.21°)
OKLaboklab(28.04% -0.0373 0.0138)
OKLCHoklch(28.04% 0.04 159.7)
XYZxyz(1.6360, 2.3190, 1.8745)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F22 #2F1623
analogous
#162F16 #162F22 #162F2E
triadic
#162F22 #22162F #2F2216
tetradic
#162F22 #16162F #2F1623 #2F2E16
square
#162F22 #16162F #2F1623 #2F2E16
split-complementary
#162F22 #2E162F #2F1616
monochromatic
#0A150F #0A150F #162F22 #2A5940 #3D825E

Accessibility & contrast

On white

14.35
#162F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F22
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F22#FFFFFF#000000##FFFFFF
##162F221.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2C21
Deuteranopia (green-blind)
#2B2923
Tritanopia (blue-blind)
#102F2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162f22;
/* rgb */ color: rgb(22, 47, 34);
/* oklch */ color: oklch(28.0% 0.040 159.7);
Tailwind
colors: {
  custom: {
    50: '#55675d',
    500: '#162f22',
    950: '#000000',
  },
}
SCSS
$custom: #162f22;
$custom-light: #55675d;
$custom-dark: #000000;
JSON
{
  "hex": "#162f22",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 148.8,
    "s": 36.232,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28038,
    "c": 0.03974,
    "h": 159.7
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#162F22
secondary
#653C51
accent
#5C96CC
background
#F5F6F5
surface
#E8EBE9
border
#C4C6C5
text
#030604
muted
#787A79

Preview Lab

Preview with #162F22

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

Preview Lab → · Contrast checker → · Palette generator →

#162F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva