#161802#161802

#161802 is a very dark, muted yellow. Relative luminance 0.008; OKLCH L 20.0% C 0.040 H 113.9°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#161802
RGBrgb(22, 24, 2)
HSLhsl(65, 85%, 5%)
HSVhsv(65, 92%, 9%)
CMYKcmyk(8.3%, 0%, 91.7%, 90.6%)
CIE-LABlab(7.48, -4.86, 10.29)
CIE-LCHlch(7.48, 11.38, 115.28°)
OKLaboklab(20.05% -0.0164 0.037)
OKLCHoklch(20.05% 0.04 113.9)
XYZxyz(0.6685, 0.8282, 0.1821)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161802 #040218
analogous
#180F02 #161802 #0B1802
triadic
#161802 #021618 #180216
tetradic
#161802 #02180F #040218 #18020B
square
#161802 #02180F #040218 #18020B
split-complementary
#161802 #020B18 #0F0218
monochromatic
#1A1C02 #1A1C02 #1A1C02 #4A5007 #7E890B

Accessibility & contrast

On white

18.02
#161802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#161802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161802
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161802#FFFFFF#000000##FFFFFF
##1618021.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1601
Deuteranopia (green-blind)
#1B1703
Tritanopia (blue-blind)
#181613
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #161802;
/* rgb */ color: rgb(22, 24, 2);
/* oklch */ color: oklch(20.0% 0.040 113.9);
Tailwind
colors: {
  custom: {
    50: '#525447',
    500: '#161802',
    950: '#000000',
  },
}
SCSS
$custom: #161802;
$custom-light: #525447;
$custom-dark: #000000;
JSON
{
  "hex": "#161802",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 2
  },
  "hsl": {
    "h": 65.455,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.20049,
    "c": 0.04048,
    "h": 113.9
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#161802
secondary
#1E185E
accent
#2DFB40
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020200
muted
#787877

Preview Lab

Preview with #161802

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

Preview Lab → · Contrast checker → · Palette generator →

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