#162C07#162C07

#162C07 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.066 H 135.1°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#162C07
RGBrgb(22, 44, 7)
HSLhsl(96, 73%, 10%)
HSVhsv(96, 84%, 17%)
CMYKcmyk(50%, 0%, 84.1%, 82.7%)
CIE-LABlab(15.42, -16.79, 19.18)
CIE-LCHlch(15.42, 25.49, 131.19°)
OKLaboklab(26.52% -0.0468 0.0467)
OKLCHoklch(26.52% 0.066 135.1)
XYZxyz(1.2699, 1.9872, 0.5176)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C07 #1D072C
analogous
#282C07 #162C07 #072C0B
triadic
#162C07 #07162C #2C0716
tetradic
#162C07 #07282C #1D072C #2C0B07
square
#162C07 #07282C #1D072C #2C0B07
split-complementary
#162C07 #0B072C #2C0728
monochromatic
#0D1A04 #0D1A04 #162C07 #30610F #4B9618

Accessibility & contrast

On white

15.03
#162C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#162C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C07
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C07#FFFFFF#000000##FFFFFF
##162C071.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#162A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162c07;
/* rgb */ color: rgb(22, 44, 7);
/* oklch */ color: oklch(26.5% 0.066 135.1);
Tailwind
colors: {
  custom: {
    50: '#55654a',
    500: '#162c07',
    950: '#000000',
  },
}
SCSS
$custom: #162c07;
$custom-light: #55654a;
$custom-dark: #000000;
JSON
{
  "hex": "#162c07",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 95.676,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.26522,
    "c": 0.06611,
    "h": 135.1
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#162C07
secondary
#4E236C
accent
#39EFA5
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #162C07

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

Preview Lab → · Contrast checker → · Palette generator →

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