#162D05#162D05

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

Color values

HEX#162D05
RGBrgb(22, 45, 5)
HSLhsl(95, 80%, 10%)
HSVhsv(95, 89%, 18%)
CMYKcmyk(51.1%, 0%, 88.9%, 82.4%)
CIE-LABlab(15.79, -17.55, 20.47)
CIE-LCHlch(15.79, 26.96, 130.62°)
OKLaboklab(26.82% -0.0491 0.0497)
OKLCHoklch(26.82% 0.07 134.7)
XYZxyz(1.2966, 2.0582, 0.4725)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D05 #1C052D
analogous
#2A2D05 #162D05 #052D08
triadic
#162D05 #05162D #2D0516
tetradic
#162D05 #052A2D #1C052D #2D0805
square
#162D05 #052A2D #1C052D #2D0805
split-complementary
#162D05 #08052D #2D052A
monochromatic
#0D1C03 #0D1C03 #162D05 #31640B #4C9B11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162D05#FFFFFF#000000##FFFFFF
##162D051.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)
#2F2901
Deuteranopia (green-blind)
#2C2708
Tritanopia (blue-blind)
#162B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162d05;
/* rgb */ color: rgb(22, 45, 5);
/* oklch */ color: oklch(26.8% 0.070 134.7);
Tailwind
colors: {
  custom: {
    50: '#556649',
    500: '#162d05',
    950: '#000000',
  },
}
SCSS
$custom: #162d05;
$custom-light: #556649;
$custom-dark: #000000;
JSON
{
  "hex": "#162d05",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 94.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26818,
    "c": 0.06985,
    "h": 134.7
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#162D05
secondary
#4D1F6F
accent
#31F6A3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162D05

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

Preview Lab → · Contrast checker → · Palette generator →

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