#162A03#162A03

#162A03 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.8% C 0.067 H 132.8°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#162A03
RGBrgb(22, 42, 3)
HSLhsl(91, 87%, 9%)
HSVhsv(91, 93%, 16%)
CMYKcmyk(47.6%, 0%, 92.9%, 83.5%)
CIE-LABlab(14.59, -16.21, 19.74)
CIE-LCHlch(14.59, 25.54, 129.39°)
OKLaboklab(25.82% -0.0458 0.0495)
OKLCHoklch(25.82% 0.067 132.8)
XYZxyz(1.1753, 1.8330, 0.3780)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A03 #17032A
analogous
#2A2A03 #162A03 #032A03
triadic
#162A03 #03162A #2A0316
tetradic
#162A03 #032A2A #17032A #2A0303
square
#162A03 #032A2A #17032A #2A0303
split-complementary
#162A03 #03032A #2A032A
monochromatic
#0F1D02 #0F1D02 #162A03 #346307 #529C0B

Accessibility & contrast

On white

15.37
#162A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162A03
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A03#FFFFFF#000000##FFFFFF
##162A031.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2A2406
Tritanopia (blue-blind)
#162822
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #162a03;
/* rgb */ color: rgb(22, 42, 3);
/* oklch */ color: oklch(25.8% 0.067 132.8);
Tailwind
colors: {
  custom: {
    50: '#546348',
    500: '#162a03',
    950: '#000000',
  },
}
SCSS
$custom: #162a03;
$custom-light: #546348;
$custom-dark: #000000;
JSON
{
  "hex": "#162a03",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 90.769,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25824,
    "c": 0.06747,
    "h": 132.8
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#162A03
secondary
#451B6E
accent
#2BFD97
background
#F5F5F4
surface
#E8EAE6
border
#C4C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #162A03

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

Preview Lab → · Contrast checker → · Palette generator →

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