#162803#162803

#162803 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.2% C 0.064 H 131.8°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#162803
RGBrgb(22, 40, 3)
HSLhsl(89, 86%, 8%)
HSVhsv(89, 93%, 16%)
CMYKcmyk(45%, 0%, 92.5%, 84.3%)
CIE-LABlab(13.80, -15.12, 18.71)
CIE-LCHlch(13.80, 24.06, 128.95°)
OKLaboklab(25.18% -0.0429 0.048)
OKLCHoklch(25.18% 0.064 131.8)
XYZxyz(1.1061, 1.6947, 0.3550)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162803 #150328
analogous
#282703 #162803 #032803
triadic
#162803 #031628 #280316
tetradic
#162803 #032827 #150328 #280303
square
#162803 #032827 #150328 #280303
split-complementary
#162803 #030328 #270328
monochromatic
#101C02 #101C02 #162803 #356107 #559A0C

Accessibility & contrast

On white

15.68
#162803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#162803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162803
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162803#FFFFFF#000000##FFFFFF
##1628031.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#282306
Tritanopia (blue-blind)
#162621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #162803;
/* rgb */ color: rgb(22, 40, 3);
/* oklch */ color: oklch(25.2% 0.064 131.8);
Tailwind
colors: {
  custom: {
    50: '#546248',
    500: '#162803',
    950: '#000000',
  },
}
SCSS
$custom: #162803;
$custom-light: #546248;
$custom-dark: #000000;
JSON
{
  "hex": "#162803",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 89.189,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25179,
    "c": 0.06435,
    "h": 131.8
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#162803
secondary
#421B6C
accent
#2CFC91
background
#F4F5F4
surface
#E8EAE6
border
#C4C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #162803

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

Preview Lab → · Contrast checker → · Palette generator →

#162803 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva