#162702#162702

#162702 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.8% C 0.064 H 130.8°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#162702
RGBrgb(22, 39, 2)
HSLhsl(88, 90%, 8%)
HSVhsv(88, 95%, 15%)
CMYKcmyk(43.6%, 0%, 94.9%, 84.7%)
CIE-LABlab(13.39, -14.70, 18.58)
CIE-LCHlch(13.39, 23.69, 128.36°)
OKLaboklab(24.84% -0.0419 0.0485)
OKLCHoklch(24.84% 0.064 130.8)
XYZxyz(1.0673, 1.6260, 0.3150)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162702 #130227
analogous
#272502 #162702 #032702
triadic
#162702 #021627 #270216
tetradic
#162702 #022725 #130227 #270203
square
#162702 #022725 #130227 #270203
split-complementary
#162702 #020327 #250227
monochromatic
#101D01 #101D01 #162702 #376105 #589B08

Accessibility & contrast

On white

15.85
#162702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#162702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162702
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162702#FFFFFF#000000##FFFFFF
##1627021.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#172520
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #162702;
/* rgb */ color: rgb(22, 39, 2);
/* oklch */ color: oklch(24.8% 0.064 130.8);
Tailwind
colors: {
  custom: {
    50: '#546147',
    500: '#162702',
    950: '#000000',
  },
}
SCSS
$custom: #162702;
$custom-light: #546147;
$custom-dark: #000000;
JSON
{
  "hex": "#162702",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 87.568,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24841,
    "c": 0.06411,
    "h": 130.8
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#162702
secondary
#3F186C
accent
#29FF8B
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#030500
muted
#787977

Preview Lab

Preview with #162702

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

Preview Lab → · Contrast checker → · Palette generator →

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