#162902#162902

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

Color values

HEX#162902
RGBrgb(22, 41, 2)
HSLhsl(89, 91%, 8%)
HSVhsv(89, 95%, 16%)
CMYKcmyk(46.3%, 0%, 95.1%, 83.9%)
CIE-LABlab(14.18, -15.80, 19.62)
CIE-LCHlch(14.18, 25.19, 128.85°)
OKLaboklab(25.49% -0.0449 0.05)
OKLCHoklch(25.49% 0.067 131.9)
XYZxyz(1.1348, 1.7608, 0.3375)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162902 #150229
analogous
#292802 #162902 #022902
triadic
#162902 #021629 #290216
tetradic
#162902 #022928 #150229 #290202
square
#162902 #022928 #150229 #290202
split-complementary
#162902 #020229 #280229
monochromatic
#101D01 #101D01 #162902 #356305 #559E08

Accessibility & contrast

On white

15.53
#162902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162902
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162902#FFFFFF#000000##FFFFFF
##1629021.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162902;
/* rgb */ color: rgb(22, 41, 2);
/* oklch */ color: oklch(25.5% 0.067 131.9);
Tailwind
colors: {
  custom: {
    50: '#546347',
    500: '#162902',
    950: '#000000',
  },
}
SCSS
$custom: #162902;
$custom-light: #546347;
$custom-dark: #000000;
JSON
{
  "hex": "#162902",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 89.231,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25487,
    "c": 0.06717,
    "h": 131.9
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#162902
secondary
#42196E
accent
#29FF91
background
#F4F5F4
surface
#E8EAE6
border
#C4C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #162902

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

Preview Lab → · Contrast checker → · Palette generator →

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