#162F0C#162F0C

#162F0C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.5% C 0.066 H 137.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#162F0C
RGBrgb(22, 47, 12)
HSLhsl(103, 59%, 12%)
HSVhsv(103, 74%, 18%)
CMYKcmyk(53.2%, 0%, 74.5%, 81.6%)
CIE-LABlab(16.65, -17.77, 18.64)
CIE-LCHlch(16.65, 25.76, 133.63°)
OKLaboklab(27.55% -0.049 0.0443)
OKLCHoklch(27.55% 0.066 137.9)
XYZxyz(1.4137, 2.2301, 0.7037)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F0C #250C2F
analogous
#282F0C #162F0C #0C2F14
triadic
#162F0C #0C162F #2F0C16
tetradic
#162F0C #0C282F #250C2F #2F140C
square
#162F0C #0C282F #250C2F #2F140C
split-complementary
#162F0C #140C2F #2F0C28
monochromatic
#0B1806 #0B1806 #162F0C #2D6018 #449125

Accessibility & contrast

On white

14.52
#162F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F0C
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F0C#FFFFFF#000000##FFFFFF
##162F0C1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A08
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#142D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162f0c;
/* rgb */ color: rgb(22, 47, 12);
/* oklch */ color: oklch(27.5% 0.066 137.9);
Tailwind
colors: {
  custom: {
    50: '#55684c',
    500: '#162f0c',
    950: '#000000',
  },
}
SCSS
$custom: #162f0c;
$custom-light: #55684c;
$custom-dark: #000000;
JSON
{
  "hex": "#162f0c",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 102.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27548,
    "c": 0.06608,
    "h": 137.9
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#162F0C
secondary
#592C6B
accent
#45E3B6
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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