#162D03#162D03

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

Color values

HEX#162D03
RGBrgb(22, 45, 3)
HSLhsl(93, 88%, 9%)
HSVhsv(93, 93%, 18%)
CMYKcmyk(51.1%, 0%, 93.3%, 82.4%)
CIE-LABlab(15.77, -17.79, 21.25)
CIE-LCHlch(15.77, 27.72, 129.94°)
OKLaboklab(26.79% -0.05 0.0518)
OKLCHoklch(26.79% 0.072 134)
XYZxyz(1.2857, 2.0539, 0.4148)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D03 #1A032D
analogous
#2B2D03 #162D03 #032D05
triadic
#162D03 #03162D #2D0316
tetradic
#162D03 #032B2D #1A032D #2D0503
square
#162D03 #032B2D #1A032D #2D0503
split-complementary
#162D03 #05032D #2D032B
monochromatic
#0E1D02 #0E1D02 #162D03 #326607 #4EA00B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162D03#FFFFFF#000000##FFFFFF
##162D031.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)
#2C2706
Tritanopia (blue-blind)
#162B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162d03;
/* rgb */ color: rgb(22, 45, 3);
/* oklch */ color: oklch(26.8% 0.072 134.0);
Tailwind
colors: {
  custom: {
    50: '#556648',
    500: '#162d03',
    950: '#000000',
  },
}
SCSS
$custom: #162d03;
$custom-light: #556648;
$custom-dark: #000000;
JSON
{
  "hex": "#162d03",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 92.857,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26792,
    "c": 0.07204,
    "h": 134
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#162D03
secondary
#4A1B71
accent
#2AFE9E
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #162D03

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

Preview Lab → · Contrast checker → · Palette generator →

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