#162B05#162B05

#162B05 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.067 H 133.9°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#162B05
RGBrgb(22, 43, 5)
HSLhsl(93, 79%, 9%)
HSVhsv(93, 88%, 17%)
CMYKcmyk(48.8%, 0%, 88.4%, 83.1%)
CIE-LABlab(15.00, -16.50, 19.46)
CIE-LCHlch(15.00, 25.52, 130.29°)
OKLaboklab(26.17% -0.0463 0.048)
OKLCHoklch(26.17% 0.067 133.9)
XYZxyz(1.2221, 1.9092, 0.4477)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B05 #1A052B
analogous
#292B05 #162B05 #052B07
triadic
#162B05 #05162B #2B0516
tetradic
#162B05 #05292B #1A052B #2B0705
square
#162B05 #05292B #1A052B #2B0705
split-complementary
#162B05 #07052B #2B0529
monochromatic
#0E1B03 #0E1B03 #162B05 #32620B #4E9912

Accessibility & contrast

On white

15.20
#162B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#162B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B05
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B05#FFFFFF#000000##FFFFFF
##162B051.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2701
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#162923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162b05;
/* rgb */ color: rgb(22, 43, 5);
/* oklch */ color: oklch(26.2% 0.067 133.9);
Tailwind
colors: {
  custom: {
    50: '#556449',
    500: '#162b05',
    950: '#000000',
  },
}
SCSS
$custom: #162b05;
$custom-light: #556449;
$custom-dark: #000000;
JSON
{
  "hex": "#162b05",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 93.158,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26174,
    "c": 0.06669,
    "h": 133.9
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#162B05
secondary
#4A1F6D
accent
#32F69E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #162B05

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

Preview Lab → · Contrast checker → · Palette generator →

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