#162B04#162B04

#162B04 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.068 H 133.6°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#162B04
RGBrgb(22, 43, 4)
HSLhsl(92, 83%, 9%)
HSVhsv(92, 91%, 17%)
CMYKcmyk(48.8%, 0%, 90.7%, 83.1%)
CIE-LABlab(14.99, -16.62, 19.86)
CIE-LCHlch(14.99, 25.90, 129.93°)
OKLaboklab(26.16% -0.0467 0.0492)
OKLCHoklch(26.16% 0.068 133.6)
XYZxyz(1.2166, 1.9070, 0.4188)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B04 #19042B
analogous
#2A2B04 #162B04 #042B06
triadic
#162B04 #04162B #2B0416
tetradic
#162B04 #042A2B #19042B #2B0604
square
#162B04 #042A2B #19042B #2B0604
split-complementary
#162B04 #06042B #2B042A
monochromatic
#0E1C03 #0E1C03 #162B04 #336309 #4F9B0E

Accessibility & contrast

On white

15.20
#162B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B04
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B04#FFFFFF#000000##FFFFFF
##162B041.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162b04;
/* rgb */ color: rgb(22, 43, 4);
/* oklch */ color: oklch(26.2% 0.068 133.6);
Tailwind
colors: {
  custom: {
    50: '#556448',
    500: '#162b04',
    950: '#000000',
  },
}
SCSS
$custom: #162b04;
$custom-light: #556448;
$custom-dark: #000000;
JSON
{
  "hex": "#162b04",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 92.308,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2616,
    "c": 0.06784,
    "h": 133.6
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#162B04
secondary
#491D6E
accent
#2EF99C
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #162B04

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

Preview Lab → · Contrast checker → · Palette generator →

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