#162B08#162B08

#162B08 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.063 H 135.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#162B08
RGBrgb(22, 43, 8)
HSLhsl(96, 69%, 10%)
HSVhsv(96, 81%, 17%)
CMYKcmyk(48.8%, 0%, 81.4%, 83.1%)
CIE-LABlab(15.04, -16.13, 18.29)
CIE-LCHlch(15.04, 24.38, 131.41°)
OKLaboklab(26.21% -0.0449 0.0448)
OKLCHoklch(26.21% 0.063 135.1)
XYZxyz(1.2386, 1.9158, 0.5342)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B08 #1D082B
analogous
#272B08 #162B08 #082B0C
triadic
#162B08 #08162B #2B0816
tetradic
#162B08 #08272B #1D082B #2B0C08
square
#162B08 #08272B #1D082B #2B0C08
split-complementary
#162B08 #0C082B #2B0827
monochromatic
#0D1A05 #0D1A05 #162B08 #305F12 #4B921B

Accessibility & contrast

On white

15.18
#162B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B08
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B08#FFFFFF#000000##FFFFFF
##162B081.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2704
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#162924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162b08;
/* rgb */ color: rgb(22, 43, 8);
/* oklch */ color: oklch(26.2% 0.063 135.1);
Tailwind
colors: {
  custom: {
    50: '#55644a',
    500: '#162b08',
    950: '#000000',
  },
}
SCSS
$custom: #162b08;
$custom-light: #55644a;
$custom-dark: #000000;
JSON
{
  "hex": "#162b08",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 96,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.26214,
    "c": 0.06341,
    "h": 135.1
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#162B08
secondary
#4E256A
accent
#3CEBA5
background
#F5F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #162B08

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

Preview Lab → · Contrast checker → · Palette generator →

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