#162C01#162C01

#162C01 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.4% C 0.073 H 132.9°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#162C01
RGBrgb(22, 44, 1)
HSLhsl(91, 96%, 9%)
HSVhsv(91, 98%, 17%)
CMYKcmyk(50%, 0%, 97.7%, 82.7%)
CIE-LABlab(15.35, -17.52, 21.54)
CIE-LCHlch(15.35, 27.76, 129.13°)
OKLaboklab(26.44% -0.0496 0.0534)
OKLCHoklch(26.44% 0.073 132.9)
XYZxyz(1.2370, 1.9741, 0.3446)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C01 #17012C
analogous
#2C2C01 #162C01 #012C02
triadic
#162C01 #01162C #2C0116
tetradic
#162C01 #012C2C #17012C #2C0201
square
#162C01 #012C2C #17012C #2C0201
split-complementary
#162C01 #02012C #2C012C
monochromatic
#0F1E01 #0F1E01 #162C01 #346802 #52A404

Accessibility & contrast

On white

15.06
#162C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#162C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C01
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C01#FFFFFF#000000##FFFFFF
##162C011.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162c01;
/* rgb */ color: rgb(22, 44, 1);
/* oklch */ color: oklch(26.4% 0.073 132.9);
Tailwind
colors: {
  custom: {
    50: '#556547',
    500: '#162c01',
    950: '#000000',
  },
}
SCSS
$custom: #162c01;
$custom-light: #556547;
$custom-dark: #000000;
JSON
{
  "hex": "#162c01",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 90.698,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26443,
    "c": 0.07288,
    "h": 132.9
  },
  "luminance": 0.01974
}

Semantic roles & 50–950 ramp

primary
#162C01
secondary
#451772
accent
#29FF96
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #162C01

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

Preview Lab → · Contrast checker → · Palette generator →

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