#162A09#162A09

#162A09 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.9% C 0.061 H 135.1°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#162A09
RGBrgb(22, 42, 9)
HSLhsl(96, 65%, 10%)
HSVhsv(96, 79%, 16%)
CMYKcmyk(47.6%, 0%, 78.6%, 83.5%)
CIE-LABlab(14.66, -15.46, 17.39)
CIE-LCHlch(14.66, 23.27, 131.64°)
OKLaboklab(25.91% -0.043 0.0428)
OKLCHoklch(25.91% 0.061 135.1)
XYZxyz(1.2081, 1.8462, 0.5511)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A09 #1D092A
analogous
#262A09 #162A09 #092A0D
triadic
#162A09 #09162A #2A0916
tetradic
#162A09 #09262A #1D092A #2A0D09
square
#162A09 #09262A #1D092A #2A0D09
split-complementary
#162A09 #0D092A #2A0926
monochromatic
#0D1905 #0D1905 #162A09 #305C14 #4B8F1F

Accessibility & contrast

On white

15.34
#162A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162A09
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A09#FFFFFF#000000##FFFFFF
##162A091.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2606
Deuteranopia (green-blind)
#29240C
Tritanopia (blue-blind)
#162823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #162a09;
/* rgb */ color: rgb(22, 42, 9);
/* oklch */ color: oklch(25.9% 0.061 135.1);
Tailwind
colors: {
  custom: {
    50: '#54634b',
    500: '#162a09',
    950: '#000000',
  },
}
SCSS
$custom: #162a09;
$custom-light: #54634b;
$custom-dark: #000000;
JSON
{
  "hex": "#162a09",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 96.364,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.25907,
    "c": 0.06065,
    "h": 135.1
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#162A09
secondary
#4E2768
accent
#40E8A6
background
#F4F5F4
surface
#E8EAE7
border
#C4C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #162A09

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

Preview Lab → · Contrast checker → · Palette generator →

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