#162D12#162D12

#162D12 is a dark, muted green. Relative luminance 0.021; OKLCH L 27.0% C 0.056 H 140.8°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#162D12
RGBrgb(22, 45, 18)
HSLhsl(111, 43%, 12%)
HSVhsv(111, 60%, 18%)
CMYKcmyk(51.1%, 0%, 60%, 82.4%)
CIE-LABlab(15.96, -15.82, 14.60)
CIE-LCHlch(15.96, 21.52, 137.30°)
OKLaboklab(27.01% -0.0432 0.0353)
OKLCHoklch(27.01% 0.056 140.8)
XYZxyz(1.3784, 2.0909, 0.9031)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D12 #29122D
analogous
#242D12 #162D12 #122D1C
triadic
#162D12 #12162D #2D1216
tetradic
#162D12 #12242D #29122D #2D1C12
square
#162D12 #12242D #29122D #2D1C12
split-complementary
#162D12 #1C122D #2D1224
monochromatic
#0B1609 #0B1609 #162D12 #2B5923 #418435

Accessibility & contrast

On white

14.81
#162D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#162D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D12
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D12#FFFFFF#000000##FFFFFF
##162D121.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2910
Deuteranopia (green-blind)
#2B2714
Tritanopia (blue-blind)
#142C27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162d12;
/* rgb */ color: rgb(22, 45, 18);
/* oklch */ color: oklch(27.0% 0.056 140.8);
Tailwind
colors: {
  custom: {
    50: '#556650',
    500: '#162d12',
    950: '#000000',
  },
}
SCSS
$custom: #162d12;
$custom-light: #556650;
$custom-dark: #000000;
JSON
{
  "hex": "#162d12",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 111.111,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27009,
    "c": 0.0558,
    "h": 140.8
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#162D12
secondary
#5E3665
accent
#55D3C0
background
#F5F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #162D12

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

Preview Lab → · Contrast checker → · Palette generator →

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