#162D04#162D04

#162D04 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.8% C 0.071 H 134.3°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#162D04
RGBrgb(22, 45, 4)
HSLhsl(94, 84%, 10%)
HSVhsv(94, 91%, 18%)
CMYKcmyk(51.1%, 0%, 91.1%, 82.4%)
CIE-LABlab(15.78, -17.67, 20.86)
CIE-LCHlch(15.78, 27.34, 130.27°)
OKLaboklab(26.81% -0.0496 0.0507)
OKLCHoklch(26.81% 0.071 134.3)
XYZxyz(1.2912, 2.0560, 0.4437)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D04 #1B042D
analogous
#2B2D04 #162D04 #042D07
triadic
#162D04 #04162D #2D0416
tetradic
#162D04 #042B2D #1B042D #2D0704
square
#162D04 #042B2D #1B042D #2D0704
split-complementary
#162D04 #07042D #2D042B
monochromatic
#0E1C02 #0E1C02 #162D04 #316509 #4D9D0E

Accessibility & contrast

On white

14.88
#162D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#162D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D04
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D04#FFFFFF#000000##FFFFFF
##162D041.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2707
Tritanopia (blue-blind)
#162B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162d04;
/* rgb */ color: rgb(22, 45, 4);
/* oklch */ color: oklch(26.8% 0.071 134.3);
Tailwind
colors: {
  custom: {
    50: '#556648',
    500: '#162d04',
    950: '#000000',
  },
}
SCSS
$custom: #162d04;
$custom-light: #556648;
$custom-dark: #000000;
JSON
{
  "hex": "#162d04",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 93.659,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26805,
    "c": 0.07093,
    "h": 134.3
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#162D04
secondary
#4B1D70
accent
#2EFAA0
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #162D04

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

Preview Lab → · Contrast checker → · Palette generator →

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