#162B01#162B01

#162B01 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.071 H 132.5°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#162B01
RGBrgb(22, 43, 1)
HSLhsl(90, 95%, 9%)
HSVhsv(90, 98%, 17%)
CMYKcmyk(48.8%, 0%, 97.7%, 83.1%)
CIE-LABlab(14.96, -17.00, 21.03)
CIE-LCHlch(14.96, 27.04, 128.94°)
OKLaboklab(26.12% -0.0482 0.0527)
OKLCHoklch(26.12% 0.071 132.5)
XYZxyz(1.2002, 1.9005, 0.3323)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B01 #16012B
analogous
#2B2B01 #162B01 #012B01
triadic
#162B01 #01162B #2B0116
tetradic
#162B01 #012B2B #16012B #2B0101
square
#162B01 #012B2B #16012B #2B0101
split-complementary
#162B01 #01012B #2B012B
monochromatic
#0F1E01 #0F1E01 #162B01 #356702 #53A304

Accessibility & contrast

On white

15.22
#162B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B01
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B01#FFFFFF#000000##FFFFFF
##162B011.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162b01;
/* rgb */ color: rgb(22, 43, 1);
/* oklch */ color: oklch(26.1% 0.071 132.5);
Tailwind
colors: {
  custom: {
    50: '#556447',
    500: '#162b01',
    950: '#000000',
  },
}
SCSS
$custom: #162b01;
$custom-light: #556447;
$custom-dark: #000000;
JSON
{
  "hex": "#162b01",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 90,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2612,
    "c": 0.07141,
    "h": 132.5
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#162B01
secondary
#441771
accent
#29FF94
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #162B01

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

Preview Lab → · Contrast checker → · Palette generator →

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