#162C03#162C03

#162C03 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.071 H 133.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#162C03
RGBrgb(22, 44, 3)
HSLhsl(92, 87%, 9%)
HSVhsv(92, 93%, 17%)
CMYKcmyk(50%, 0%, 93.2%, 82.7%)
CIE-LABlab(15.37, -17.27, 20.75)
CIE-LCHlch(15.37, 27.00, 129.77°)
OKLaboklab(26.47% -0.0486 0.0511)
OKLCHoklch(26.47% 0.071 133.6)
XYZxyz(1.2480, 1.9784, 0.4023)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C03 #19032C
analogous
#2B2C03 #162C03 #032C05
triadic
#162C03 #03162C #2C0316
tetradic
#162C03 #032B2C #19032C #2C0503
square
#162C03 #032B2C #19032C #2C0503
split-complementary
#162C03 #05032C #2C032B
monochromatic
#0E1D02 #0E1D02 #162C03 #336507 #4F9F0B

Accessibility & contrast

On white

15.05
#162C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#162C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C03
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C03#FFFFFF#000000##FFFFFF
##162C031.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2B2606
Tritanopia (blue-blind)
#162A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162c03;
/* rgb */ color: rgb(22, 44, 3);
/* oklch */ color: oklch(26.5% 0.071 133.6);
Tailwind
colors: {
  custom: {
    50: '#556548',
    500: '#162c03',
    950: '#000000',
  },
}
SCSS
$custom: #162c03;
$custom-light: #556548;
$custom-dark: #000000;
JSON
{
  "hex": "#162c03",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 92.195,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2647,
    "c": 0.07053,
    "h": 133.6
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#162C03
secondary
#491B70
accent
#2AFD9C
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #162C03

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

Preview Lab → · Contrast checker → · Palette generator →

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