#162A18#162A18

#162A18 is a dark, muted green. Relative luminance 0.019; OKLCH L 26.2% C 0.042 H 146.6°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#162A18
RGBrgb(22, 42, 24)
HSLhsl(126, 31%, 13%)
HSVhsv(126, 48%, 16%)
CMYKcmyk(47.6%, 0%, 42.9%, 83.5%)
CIE-LABlab(14.91, -12.95, 9.30)
CIE-LCHlch(14.91, 15.94, 144.33°)
OKLaboklab(26.2% -0.0353 0.0233)
OKLCHoklch(26.2% 0.042 146.6)
XYZxyz(1.3236, 1.8924, 1.1595)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A18 #2A1628
analogous
#1E2A16 #162A18 #162A22
triadic
#162A18 #18162A #2A1816
tetradic
#162A18 #161E2A #2A1628 #2A2216
square
#162A18 #161E2A #2A1628 #2A2216
split-complementary
#162A18 #22162A #2A161E
monochromatic
#0B140B #0B140B #162A18 #2B522F #407A46

Accessibility & contrast

On white

15.24
#162A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#162A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A18
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A18#FFFFFF#000000##FFFFFF
##162A181.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#282519
Tritanopia (blue-blind)
#132925
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #162a18;
/* rgb */ color: rgb(22, 42, 24);
/* oklch */ color: oklch(26.2% 0.042 146.6);
Tailwind
colors: {
  custom: {
    50: '#546354',
    500: '#162a18',
    950: '#000000',
  },
}
SCSS
$custom: #162a18;
$custom-light: #546354;
$custom-dark: #000000;
JSON
{
  "hex": "#162a18",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 126,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.26196,
    "c": 0.04227,
    "h": 146.6
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#162A18
secondary
#5F3D5C
accent
#60BDC7
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #162A18

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

Preview Lab → · Contrast checker → · Palette generator →

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