#162C05#162C05

#162C05 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.068 H 134.3°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#162C05
RGBrgb(22, 44, 5)
HSLhsl(94, 80%, 10%)
HSVhsv(94, 89%, 17%)
CMYKcmyk(50%, 0%, 88.6%, 82.7%)
CIE-LABlab(15.40, -17.03, 19.97)
CIE-LCHlch(15.40, 26.24, 130.46°)
OKLaboklab(26.5% -0.0477 0.0489)
OKLCHoklch(26.5% 0.068 134.3)
XYZxyz(1.2589, 1.9828, 0.4599)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C05 #1B052C
analogous
#2A2C05 #162C05 #052C07
triadic
#162C05 #05162C #2C0516
tetradic
#162C05 #052A2C #1B052C #2C0705
square
#162C05 #052A2C #1B052C #2C0705
split-complementary
#162C05 #07052C #2C052A
monochromatic
#0E1B03 #0E1B03 #162C05 #31630B #4D9A11

Accessibility & contrast

On white

15.04
#162C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#162C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C05
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C05#FFFFFF#000000##FFFFFF
##162C051.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2801
Deuteranopia (green-blind)
#2B2608
Tritanopia (blue-blind)
#162A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162c05;
/* rgb */ color: rgb(22, 44, 5);
/* oklch */ color: oklch(26.5% 0.068 134.3);
Tailwind
colors: {
  custom: {
    50: '#556549',
    500: '#162c05',
    950: '#000000',
  },
}
SCSS
$custom: #162c05;
$custom-light: #556549;
$custom-dark: #000000;
JSON
{
  "hex": "#162c05",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 93.846,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26496,
    "c": 0.06828,
    "h": 134.3
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#162C05
secondary
#4B1F6E
accent
#32F6A0
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #162C05

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

Preview Lab → · Contrast checker → · Palette generator →

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