#162D0F#162D0F

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

Color values

HEX#162D0F
RGBrgb(22, 45, 15)
HSLhsl(106, 50%, 12%)
HSVhsv(106, 67%, 18%)
CMYKcmyk(51.1%, 0%, 66.7%, 82.4%)
CIE-LABlab(15.91, -16.30, 16.24)
CIE-LCHlch(15.91, 23.01, 135.09°)
OKLaboklab(26.96% -0.0447 0.039)
OKLCHoklch(26.96% 0.059 138.9)
XYZxyz(1.3554, 2.0818, 0.7822)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D0F #260F2D
analogous
#252D0F #162D0F #0F2D17
triadic
#162D0F #0F162D #2D0F16
tetradic
#162D0F #0F252D #260F2D #2D170F
square
#162D0F #0F252D #260F2D #2D170F
split-complementary
#162D0F #170F2D #2D0F25
monochromatic
#0B1708 #0B1708 #162D0F #2C5B1E #43892E

Accessibility & contrast

On white

14.83
#162D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D0F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D0F#FFFFFF#000000##FFFFFF
##162D0F1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290C
Deuteranopia (green-blind)
#2B2711
Tritanopia (blue-blind)
#142B26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162d0f;
/* rgb */ color: rgb(22, 45, 15);
/* oklch */ color: oklch(27.0% 0.059 138.9);
Tailwind
colors: {
  custom: {
    50: '#55664e',
    500: '#162d0f',
    950: '#000000',
  },
}
SCSS
$custom: #162d0f;
$custom-light: #55664e;
$custom-dark: #000000;
JSON
{
  "hex": "#162d0f",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 106,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26955,
    "c": 0.05937,
    "h": 138.9
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#162D0F
secondary
#5A3166
accent
#4EDAB9
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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