#22221A#22221A

#22221A is a very dark, near-neutral yellow. Relative luminance 0.016; OKLCH L 24.9% C 0.015 H 107.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#22221A
RGBrgb(34, 34, 26)
HSLhsl(60, 13%, 12%)
HSVhsv(60, 24%, 13%)
CMYKcmyk(0%, 0%, 23.5%, 86.7%)
CIE-LABlab(12.98, -1.80, 5.41)
CIE-LCHlch(12.98, 5.71, 108.44°)
OKLaboklab(24.92% -0.0043 0.0139)
OKLCHoklch(24.92% 0.015 107.4)
XYZxyz(1.4182, 1.5587, 1.2032)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22221A #1A1A22
analogous
#221E1A #22221A #1E221A
triadic
#22221A #1A2222 #221A22
tetradic
#22221A #1A221E #1A1A22 #221A1E
square
#22221A #1A221E #1A1A22 #221A1E
split-complementary
#22221A #1A1E22 #1E1A22
monochromatic
#11110D #11110D #22221A #454535 #67674F

Accessibility & contrast

On white

16.01
#22221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#22221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22221A
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22221A#FFFFFF#000000##FFFFFF
##22221A1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211A
Deuteranopia (green-blind)
#24221A
Tritanopia (blue-blind)
#232120
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22221a;
/* rgb */ color: rgb(34, 34, 26);
/* oklch */ color: oklch(24.9% 0.015 107.4);
Tailwind
colors: {
  custom: {
    50: '#5d5c56',
    500: '#22221a',
    950: '#000000',
  },
}
SCSS
$custom: #22221a;
$custom-light: #5d5c56;
$custom-dark: #000000;
JSON
{
  "hex": "#22221a",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 13.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.24915,
    "c": 0.01455,
    "h": 107.4
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#22221A
secondary
#454553
accent
#72B672
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #22221A

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

Preview Lab → · Contrast checker → · Palette generator →

#22221A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva