#162102#162102

#162102 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 22.9% C 0.055 H 126.4°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#162102
RGBrgb(22, 33, 2)
HSLhsl(81, 89%, 7%)
HSVhsv(81, 94%, 13%)
CMYKcmyk(33.3%, 0%, 93.9%, 87.1%)
CIE-LABlab(11.01, -11.21, 15.35)
CIE-LCHlch(11.01, 19.01, 126.16°)
OKLaboklab(22.91% -0.0325 0.044)
OKLCHoklch(22.91% 0.055 126.4)
XYZxyz(0.8857, 1.2627, 0.2545)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162102 #0D0221
analogous
#211D02 #162102 #072102
triadic
#162102 #021621 #210216
tetradic
#162102 #02211D #0D0221 #210207
square
#162102 #02211D #0D0221 #210207
split-complementary
#162102 #020721 #1D0221
monochromatic
#131D02 #131D02 #162102 #3C5B05 #639409

Accessibility & contrast

On white

16.77
#162102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#162102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162102
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162102#FFFFFF#000000##FFFFFF
##1621021.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#221D04
Tritanopia (blue-blind)
#171F1B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #162102;
/* rgb */ color: rgb(22, 33, 2);
/* oklch */ color: oklch(22.9% 0.055 126.4);
Tailwind
colors: {
  custom: {
    50: '#535c47',
    500: '#162102',
    950: '#000000',
  },
}
SCSS
$custom: #162102;
$custom-light: #535c47;
$custom-dark: #000000;
JSON
{
  "hex": "#162102",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 81.29,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22907,
    "c": 0.05467,
    "h": 126.4
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#162102
secondary
#341867
accent
#29FF75
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #162102

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

Preview Lab → · Contrast checker → · Palette generator →

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