#162B03#162B03

#162B03 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.069 H 133.2°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#162B03
RGBrgb(22, 43, 3)
HSLhsl(92, 87%, 9%)
HSVhsv(92, 93%, 17%)
CMYKcmyk(48.8%, 0%, 93%, 83.1%)
CIE-LABlab(14.98, -16.75, 20.25)
CIE-LCHlch(14.98, 26.28, 129.59°)
OKLaboklab(26.15% -0.0472 0.0503)
OKLCHoklch(26.15% 0.069 133.2)
XYZxyz(1.2112, 1.9048, 0.3900)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B03 #18032B
analogous
#2A2B03 #162B03 #032B04
triadic
#162B03 #03162B #2B0316
tetradic
#162B03 #032A2B #18032B #2B0403
square
#162B03 #032A2B #18032B #2B0403
split-complementary
#162B03 #04032B #2B032A
monochromatic
#0F1D02 #0F1D02 #162B03 #336407 #519D0B

Accessibility & contrast

On white

15.21
#162B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B03
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B03#FFFFFF#000000##FFFFFF
##162B031.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162b03;
/* rgb */ color: rgb(22, 43, 3);
/* oklch */ color: oklch(26.1% 0.069 133.2);
Tailwind
colors: {
  custom: {
    50: '#556448',
    500: '#162b03',
    950: '#000000',
  },
}
SCSS
$custom: #162b03;
$custom-light: #556448;
$custom-dark: #000000;
JSON
{
  "hex": "#162b03",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 3
  },
  "hsl": {
    "h": 91.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26147,
    "c": 0.069,
    "h": 133.2
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#162B03
secondary
#471B6F
accent
#2BFD99
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #162B03

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

Preview Lab → · Contrast checker → · Palette generator →

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