#162A01#162A01

#162A01 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.8% C 0.070 H 132.0°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#162A01
RGBrgb(22, 42, 1)
HSLhsl(89, 95%, 8%)
HSVhsv(89, 98%, 16%)
CMYKcmyk(47.6%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.56, -16.47, 20.52)
CIE-LCHlch(14.56, 26.31, 128.74°)
OKLaboklab(25.8% -0.0468 0.052)
OKLCHoklch(25.8% 0.07 132)
XYZxyz(1.1643, 1.8286, 0.3203)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A01 #15012A
analogous
#2A2901 #162A01 #022A01
triadic
#162A01 #01162A #2A0116
tetradic
#162A01 #012A29 #15012A #2A0102
square
#162A01 #012A29 #15012A #2A0102
split-complementary
#162A01 #01022A #29012A
monochromatic
#101E01 #101E01 #162A01 #356602 #55A204

Accessibility & contrast

On white

15.38
#162A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#162A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A01
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A01#FFFFFF#000000##FFFFFF
##162A011.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2A2404
Tritanopia (blue-blind)
#162822
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #162a01;
/* rgb */ color: rgb(22, 42, 1);
/* oklch */ color: oklch(25.8% 0.070 132.0);
Tailwind
colors: {
  custom: {
    50: '#546347',
    500: '#162a01',
    950: '#000000',
  },
}
SCSS
$custom: #162a01;
$custom-light: #546347;
$custom-dark: #000000;
JSON
{
  "hex": "#162a01",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 89.268,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25797,
    "c": 0.06994,
    "h": 132
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#162A01
secondary
#421670
accent
#29FF91
background
#F5F5F4
surface
#E8EAE6
border
#C4C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #162A01

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

Preview Lab → · Contrast checker → · Palette generator →

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