#162B07#162B07

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

Color values

HEX#162B07
RGBrgb(22, 43, 7)
HSLhsl(95, 72%, 10%)
HSVhsv(95, 84%, 17%)
CMYKcmyk(48.8%, 0%, 83.7%, 83.1%)
CIE-LABlab(15.03, -16.25, 18.68)
CIE-LCHlch(15.03, 24.76, 131.02°)
OKLaboklab(26.2% -0.0453 0.0458)
OKLCHoklch(26.2% 0.064 134.7)
XYZxyz(1.2331, 1.9136, 0.5054)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B07 #1C072B
analogous
#282B07 #162B07 #072B0A
triadic
#162B07 #07162B #2B0716
tetradic
#162B07 #07282B #1C072B #2B0A07
square
#162B07 #07282B #1C072B #2B0A07
split-complementary
#162B07 #0A072B #2B0728
monochromatic
#0D1A04 #0D1A04 #162B07 #316010 #4C9418

Accessibility & contrast

On white

15.19
#162B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B07
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B07#FFFFFF#000000##FFFFFF
##162B071.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162b07;
/* rgb */ color: rgb(22, 43, 7);
/* oklch */ color: oklch(26.2% 0.064 134.7);
Tailwind
colors: {
  custom: {
    50: '#55644a',
    500: '#162b07',
    950: '#000000',
  },
}
SCSS
$custom: #162b07;
$custom-light: #55644a;
$custom-dark: #000000;
JSON
{
  "hex": "#162b07",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 95,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26201,
    "c": 0.06448,
    "h": 134.7
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#162B07
secondary
#4D236B
accent
#39EFA3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #162B07

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

Preview Lab → · Contrast checker → · Palette generator →

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