#162104#162104

#162104 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 22.9% C 0.052 H 127.3°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#162104
RGBrgb(22, 33, 4)
HSLhsl(83, 78%, 7%)
HSVhsv(83, 88%, 13%)
CMYKcmyk(33.3%, 0%, 87.9%, 87.1%)
CIE-LABlab(11.04, -10.92, 14.57)
CIE-LCHlch(11.04, 18.21, 126.84°)
OKLaboklab(22.94% -0.0312 0.041)
OKLCHoklch(22.94% 0.052 127.3)
XYZxyz(0.8966, 1.2670, 0.3122)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162104 #0F0421
analogous
#211E04 #162104 #072104
triadic
#162104 #041621 #210416
tetradic
#162104 #04211E #0F0421 #210407
square
#162104 #04211E #0F0421 #210407
split-complementary
#162104 #040721 #1E0421
monochromatic
#121B03 #121B03 #162104 #3A580B #5F8E11

Accessibility & contrast

On white

16.75
#162104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#162104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162104
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162104#FFFFFF#000000##FFFFFF
##1621041.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#221D06
Tritanopia (blue-blind)
#171F1B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #162104;
/* rgb */ color: rgb(22, 33, 4);
/* oklch */ color: oklch(22.9% 0.052 127.3);
Tailwind
colors: {
  custom: {
    50: '#535c48',
    500: '#162104',
    950: '#000000',
  },
}
SCSS
$custom: #162104;
$custom-light: #535c48;
$custom-dark: #000000;
JSON
{
  "hex": "#162104",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 82.759,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22942,
    "c": 0.05157,
    "h": 127.3
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#162104
secondary
#381D64
accent
#33F57C
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #162104

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

Preview Lab → · Contrast checker → · Palette generator →

#162104 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva