#162004#162004

#162004 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.6% C 0.050 H 126.3°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#162004
RGBrgb(22, 32, 4)
HSLhsl(81, 78%, 7%)
HSVhsv(81, 88%, 13%)
CMYKcmyk(31.2%, 0%, 87.5%, 87.5%)
CIE-LABlab(10.65, -10.30, 14.02)
CIE-LCHlch(10.65, 17.40, 126.29°)
OKLaboklab(22.62% -0.0295 0.0402)
OKLCHoklch(22.62% 0.05 126.3)
XYZxyz(0.8693, 1.2123, 0.3030)
Luminance0.0121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162004 #0E0420
analogous
#201C04 #162004 #082004
triadic
#162004 #041620 #200416
tetradic
#162004 #04201C #0E0420 #200408
square
#162004 #04201C #0E0420 #200408
split-complementary
#162004 #040820 #1C0420
monochromatic
#131B03 #131B03 #162004 #3B560B #618D12

Accessibility & contrast

On white

16.90
#162004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#162004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162004
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162004#FFFFFF#000000##FFFFFF
##1620041.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D02
Deuteranopia (green-blind)
#211D06
Tritanopia (blue-blind)
#171E1A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #162004;
/* rgb */ color: rgb(22, 32, 4);
/* oklch */ color: oklch(22.6% 0.050 126.3);
Tailwind
colors: {
  custom: {
    50: '#535b48',
    500: '#162004',
    950: '#000000',
  },
}
SCSS
$custom: #162004;
$custom-light: #535b48;
$custom-dark: #000000;
JSON
{
  "hex": "#162004",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 81.429,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22622,
    "c": 0.04988,
    "h": 126.3
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#162004
secondary
#361D63
accent
#34F478
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #162004

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

Preview Lab → · Contrast checker → · Palette generator →

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