#162D01#162D01

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

Color values

HEX#162D01
RGBrgb(22, 45, 1)
HSLhsl(91, 96%, 9%)
HSVhsv(91, 98%, 18%)
CMYKcmyk(51.1%, 0%, 97.8%, 82.4%)
CIE-LABlab(15.74, -18.04, 22.04)
CIE-LCHlch(15.74, 28.48, 129.30°)
OKLaboklab(26.77% -0.051 0.0541)
OKLCHoklch(26.77% 0.074 133.3)
XYZxyz(1.2747, 2.0495, 0.3571)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D01 #18012D
analogous
#2C2D01 #162D01 #012D02
triadic
#162D01 #01162D #2D0116
tetradic
#162D01 #012C2D #18012D #2D0201
square
#162D01 #012C2D #18012D #2D0201
split-complementary
#162D01 #02012D #2D012C
monochromatic
#0F1E01 #0F1E01 #162D01 #336902 #51A504

Accessibility & contrast

On white

14.89
#162D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D01
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D01#FFFFFF#000000##FFFFFF
##162D011.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2704
Tritanopia (blue-blind)
#162B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162d01;
/* rgb */ color: rgb(22, 45, 1);
/* oklch */ color: oklch(26.8% 0.074 133.3);
Tailwind
colors: {
  custom: {
    50: '#556647',
    500: '#162d01',
    950: '#000000',
  },
}
SCSS
$custom: #162d01;
$custom-light: #556647;
$custom-dark: #000000;
JSON
{
  "hex": "#162d01",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 91.364,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26766,
    "c": 0.07433,
    "h": 133.3
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#162D01
secondary
#471773
accent
#29FF99
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #162D01

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

Preview Lab → · Contrast checker → · Palette generator →

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