#162D0A#162D0A

#162D0A is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.9% C 0.065 H 136.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#162D0A
RGBrgb(22, 45, 10)
HSLhsl(99, 64%, 11%)
HSVhsv(99, 78%, 18%)
CMYKcmyk(51.1%, 0%, 77.8%, 82.4%)
CIE-LABlab(15.85, -16.96, 18.50)
CIE-LCHlch(15.85, 25.10, 132.52°)
OKLaboklab(26.88% -0.047 0.0445)
OKLCHoklch(26.88% 0.065 136.5)
XYZxyz(1.3240, 2.0692, 0.6167)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D0A #210A2D
analogous
#272D0A #162D0A #0A2D0F
triadic
#162D0A #0A162D #2D0A16
tetradic
#162D0A #0A272D #210A2D #2D0F0A
square
#162D0A #0A272D #210A2D #2D0F0A
split-complementary
#162D0A #0F0A2D #2D0A27
monochromatic
#0C1906 #0C1906 #162D0A #2E5F15 #479120

Accessibility & contrast

On white

14.85
#162D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#162D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D0A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D0A#FFFFFF#000000##FFFFFF
##162D0A1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2906
Deuteranopia (green-blind)
#2C270D
Tritanopia (blue-blind)
#152B26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162d0a;
/* rgb */ color: rgb(22, 45, 10);
/* oklch */ color: oklch(26.9% 0.065 136.5);
Tailwind
colors: {
  custom: {
    50: '#55664b',
    500: '#162d0a',
    950: '#000000',
  },
}
SCSS
$custom: #162d0a;
$custom-light: #55664b;
$custom-dark: #000000;
JSON
{
  "hex": "#162d0a",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 10
  },
  "hsl": {
    "h": 99.429,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26882,
    "c": 0.06471,
    "h": 136.5
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#162D0A
secondary
#54296A
accent
#41E7AE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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