#162F18#162F18

#162F18 is a dark, muted green. Relative luminance 0.023; OKLCH L 27.8% C 0.052 H 145.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#162F18
RGBrgb(22, 47, 24)
HSLhsl(125, 36%, 14%)
HSVhsv(125, 53%, 18%)
CMYKcmyk(53.2%, 0%, 48.9%, 81.6%)
CIE-LABlab(16.84, -15.81, 11.84)
CIE-LCHlch(16.84, 19.75, 143.16°)
OKLaboklab(27.77% -0.043 0.0293)
OKLCHoklch(27.77% 0.052 145.7)
XYZxyz(1.5122, 2.2695, 1.2223)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F18 #2F162D
analogous
#202F16 #162F18 #162F24
triadic
#162F18 #18162F #2F1816
tetradic
#162F18 #16202F #2F162D #2F2416
square
#162F18 #16202F #2F162D #2F2416
split-complementary
#162F18 #24162F #2F1620
monochromatic
#0A150B #0A150B #162F18 #2A592D #3D8243

Accessibility & contrast

On white

14.44
#162F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F18
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F18#FFFFFF#000000##FFFFFF
##162F181.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B16
Deuteranopia (green-blind)
#2C2919
Tritanopia (blue-blind)
#122E29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162f18;
/* rgb */ color: rgb(22, 47, 24);
/* oklch */ color: oklch(27.8% 0.052 145.7);
Tailwind
colors: {
  custom: {
    50: '#556755',
    500: '#162f18',
    950: '#000000',
  },
}
SCSS
$custom: #162f18;
$custom-light: #556755;
$custom-dark: #000000;
JSON
{
  "hex": "#162f18",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 124.8,
    "s": 36.232,
    "l": 13.529
  },
  "oklch": {
    "l": 0.27767,
    "c": 0.05202,
    "h": 145.7
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#162F18
secondary
#653C62
accent
#5CC3CC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030603
muted
#787A78

Preview Lab

Preview with #162F18

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

Preview Lab → · Contrast checker → · Palette generator →

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