#162900#162900

#162900 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.5% C 0.070 H 131.2°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#162900
RGBrgb(22, 41, 0)
HSLhsl(88, 100%, 8%)
HSVhsv(88, 100%, 16%)
CMYKcmyk(46.3%, 0%, 100%, 83.9%)
CIE-LABlab(14.15, -16.06, 20.40)
CIE-LCHlch(14.15, 25.96, 128.22°)
OKLaboklab(25.46% -0.0459 0.0525)
OKLCHoklch(25.46% 0.07 131.2)
XYZxyz(1.1238, 1.7564, 0.2798)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162900 #130029
analogous
#292700 #162900 #012900
triadic
#162900 #001629 #290016
tetradic
#162900 #002927 #130029 #290001
square
#162900 #002927 #130029 #290001
split-complementary
#162900 #000129 #270029
monochromatic
#101F00 #101F00 #162900 #376600 #58A300

Accessibility & contrast

On white

15.54
#162900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#162900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162900
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162900#FFFFFF#000000##FFFFFF
##1629001.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#292303
Tritanopia (blue-blind)
#172721
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #162900;
/* rgb */ color: rgb(22, 41, 0);
/* oklch */ color: oklch(25.5% 0.070 131.2);
Tailwind
colors: {
  custom: {
    50: '#546346',
    500: '#162900',
    950: '#000000',
  },
}
SCSS
$custom: #162900;
$custom-light: #546346;
$custom-dark: #000000;
JSON
{
  "hex": "#162900",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 0
  },
  "hsl": {
    "h": 87.805,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25459,
    "c": 0.06977,
    "h": 131.2
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#162900
secondary
#3F1471
accent
#29FF8C
background
#F4F5F3
surface
#E8EAE5
border
#C4C6C1
text
#030500
muted
#787977

Preview Lab

Preview with #162900

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

Preview Lab → · Contrast checker → · Palette generator →

#162900 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva