#162E01#162E01

#162E01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.076 H 133.7°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#162E01
RGBrgb(22, 46, 1)
HSLhsl(92, 96%, 9%)
HSVhsv(92, 98%, 18%)
CMYKcmyk(52.2%, 0%, 97.8%, 82%)
CIE-LABlab(16.14, -18.55, 22.53)
CIE-LCHlch(16.14, 29.18, 129.46°)
OKLaboklab(27.09% -0.0524 0.0548)
OKLCHoklch(27.09% 0.076 133.7)
XYZxyz(1.3133, 2.1267, 0.3700)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E01 #19012E
analogous
#2D2E01 #162E01 #012E03
triadic
#162E01 #01162E #2E0116
tetradic
#162E01 #012D2E #19012E #2E0301
square
#162E01 #012D2E #19012E #2E0301
split-complementary
#162E01 #03012E #2E012D
monochromatic
#0E1E01 #0E1E01 #162E01 #336A02 #4FA604

Accessibility & contrast

On white

14.73
#162E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162E01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E01
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E01#FFFFFF#000000##FFFFFF
##162E011.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2705
Tritanopia (blue-blind)
#162C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162e01;
/* rgb */ color: rgb(22, 46, 1);
/* oklch */ color: oklch(27.1% 0.076 133.7);
Tailwind
colors: {
  custom: {
    50: '#556747',
    500: '#162e01',
    950: '#000000',
  },
}
SCSS
$custom: #162e01;
$custom-light: #556747;
$custom-dark: #000000;
JSON
{
  "hex": "#162e01",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 92,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2709,
    "c": 0.07578,
    "h": 133.7
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#162E01
secondary
#491774
accent
#29FF9B
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #162E01

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

Preview Lab → · Contrast checker → · Palette generator →

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