#22221E#22221E

#22221E is a dark, near-neutral grey. Relative luminance 0.016; OKLCH L 25.0% C 0.007 H 106.9°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#22221E
RGBrgb(34, 34, 30)
HSLhsl(60, 6%, 13%)
HSVhsv(60, 12%, 13%)
CMYKcmyk(0%, 0%, 11.8%, 86.7%)
CIE-LABlab(13.10, -0.95, 2.70)
CIE-LCHlch(13.10, 2.86, 109.35°)
OKLaboklab(25.05% -0.0021 0.007)
OKLCHoklch(25.05% 0.007 106.9)
XYZxyz(1.4660, 1.5779, 1.4554)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22221E #1E1E22
analogous
#22201E #22221E #20221E
triadic
#22221E #1E2222 #221E22
tetradic
#22221E #1E2220 #1E1E22 #221E20
square
#22221E #1E2220 #1E1E22 #221E20
split-complementary
#22221E #1E2022 #201E22
monochromatic
#10100E #10100E #22221E #43433B #636357

Accessibility & contrast

On white

15.96
#22221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#22221E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22221E
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22221E#FFFFFF#000000##FFFFFF
##22221E1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#23221E
Tritanopia (blue-blind)
#232121
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #22221e;
/* rgb */ color: rgb(34, 34, 30);
/* oklch */ color: oklch(25.0% 0.007 106.9);
Tailwind
colors: {
  custom: {
    50: '#5c5c59',
    500: '#22221e',
    950: '#000000',
  },
}
SCSS
$custom: #22221e;
$custom-light: #5c5c59;
$custom-dark: #000000;
JSON
{
  "hex": "#22221e",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 6.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25048,
    "c": 0.00736,
    "h": 106.9
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#22221E
secondary
#4A4A51
accent
#78AF78
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #22221E

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

Preview Lab → · Contrast checker → · Palette generator →

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