#162802#162802

#162802 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.2% C 0.066 H 131.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#162802
RGBrgb(22, 40, 2)
HSLhsl(88, 90%, 8%)
HSVhsv(88, 95%, 16%)
CMYKcmyk(45%, 0%, 95%, 84.3%)
CIE-LABlab(13.78, -15.26, 19.10)
CIE-LCHlch(13.78, 24.44, 128.62°)
OKLaboklab(25.16% -0.0434 0.0493)
OKLCHoklch(25.16% 0.066 131.4)
XYZxyz(1.1006, 1.6925, 0.3261)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162802 #140228
analogous
#282702 #162802 #032802
triadic
#162802 #021628 #280216
tetradic
#162802 #022827 #140228 #280203
square
#162802 #022827 #140228 #280203
split-complementary
#162802 #020328 #270228
monochromatic
#101D01 #101D01 #162802 #366205 #569D08

Accessibility & contrast

On white

15.69
#162802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#162802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162802
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162802#FFFFFF#000000##FFFFFF
##1628021.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#282305
Tritanopia (blue-blind)
#172621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #162802;
/* rgb */ color: rgb(22, 40, 2);
/* oklch */ color: oklch(25.2% 0.066 131.4);
Tailwind
colors: {
  custom: {
    50: '#546247',
    500: '#162802',
    950: '#000000',
  },
}
SCSS
$custom: #162802;
$custom-light: #546247;
$custom-dark: #000000;
JSON
{
  "hex": "#162802",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 88.421,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25164,
    "c": 0.06564,
    "h": 131.4
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#162802
secondary
#41196D
accent
#29FF8E
background
#F4F5F4
surface
#E8EAE6
border
#C4C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #162802

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

Preview Lab → · Contrast checker → · Palette generator →

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