#162F12#162F12

#162F12 is a dark, muted green. Relative luminance 0.022; OKLCH L 27.6% C 0.059 H 141.0°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#162F12
RGBrgb(22, 47, 18)
HSLhsl(112, 45%, 13%)
HSVhsv(112, 62%, 18%)
CMYKcmyk(53.2%, 0%, 61.7%, 81.6%)
CIE-LABlab(16.73, -16.90, 15.56)
CIE-LCHlch(16.73, 22.98, 137.37°)
OKLaboklab(27.64% -0.0462 0.0374)
OKLCHoklch(27.64% 0.059 141)
XYZxyz(1.4565, 2.2472, 0.9292)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F12 #2B122F
analogous
#242F12 #162F12 #122F1C
triadic
#162F12 #12162F #2F1216
tetradic
#162F12 #12242F #2B122F #2F1C12
square
#162F12 #12242F #2B122F #2F1C12
split-complementary
#162F12 #1C122F #2F1224
monochromatic
#0A1608 #0A1608 #162F12 #2B5B23 #3F8834

Accessibility & contrast

On white

14.49
#162F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F12
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F12#FFFFFF#000000##FFFFFF
##162F121.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0F
Deuteranopia (green-blind)
#2D2814
Tritanopia (blue-blind)
#142D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162f12;
/* rgb */ color: rgb(22, 47, 18);
/* oklch */ color: oklch(27.6% 0.059 141.0);
Tailwind
colors: {
  custom: {
    50: '#556750',
    500: '#162f12',
    950: '#000000',
  },
}
SCSS
$custom: #162f12;
$custom-light: #556750;
$custom-dark: #000000;
JSON
{
  "hex": "#162f12",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 111.724,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.27644,
    "c": 0.05944,
    "h": 141
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#162F12
secondary
#603667
accent
#53D4C3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #162F12

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

Preview Lab → · Contrast checker → · Palette generator →

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