#162502#162502

#162502 is a very dark, moderate yellow-green. Relative luminance 0.015; OKLCH L 24.2% C 0.061 H 129.6°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#162502
RGBrgb(22, 37, 2)
HSLhsl(86, 90%, 8%)
HSVhsv(86, 95%, 15%)
CMYKcmyk(40.5%, 0%, 94.6%, 85.5%)
CIE-LABlab(12.60, -13.57, 17.52)
CIE-LCHlch(12.60, 22.16, 127.77°)
OKLaboklab(24.2% -0.0389 0.047)
OKLCHoklch(24.2% 0.061 129.6)
XYZxyz(1.0034, 1.4981, 0.2937)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162502 #110225
analogous
#252202 #162502 #052502
triadic
#162502 #021625 #250216
tetradic
#162502 #022522 #110225 #250205
square
#162502 #022522 #110225 #250205
split-complementary
#162502 #020525 #220225
monochromatic
#111D02 #111D02 #162502 #395F05 #5B9908

Accessibility & contrast

On white

16.16
#162502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#162502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162502
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162502#FFFFFF#000000##FFFFFF
##1625021.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#252004
Tritanopia (blue-blind)
#17231E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #162502;
/* rgb */ color: rgb(22, 37, 2);
/* oklch */ color: oklch(24.2% 0.061 129.6);
Tailwind
colors: {
  custom: {
    50: '#535f47',
    500: '#162502',
    950: '#000000',
  },
}
SCSS
$custom: #162502;
$custom-light: #535f47;
$custom-dark: #000000;
JSON
{
  "hex": "#162502",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 85.714,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.24195,
    "c": 0.06099,
    "h": 129.6
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#162502
secondary
#3C186A
accent
#29FF85
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #162502

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

Preview Lab → · Contrast checker → · Palette generator →

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