#212422#212422

#212422 is a dark, near-neutral grey. Relative luminance 0.017; OKLCH L 25.6% C 0.006 H 156.8°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#212422
RGBrgb(33, 36, 34)
HSLhsl(140, 4%, 14%)
HSVhsv(140, 8%, 14%)
CMYKcmyk(8.3%, 0%, 5.6%, 85.9%)
CIE-LABlab(13.83, -1.87, 0.86)
CIE-LCHlch(13.83, 2.06, 155.20°)
OKLaboklab(25.65% -0.0053 0.0023)
OKLCHoklch(25.65% 0.006 156.8)
XYZxyz(1.5468, 1.7006, 1.7598)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212422 #242123
analogous
#212421 #212422 #212423
triadic
#212422 #222124 #242221
tetradic
#212422 #212124 #242123 #242321
square
#212422 #212124 #242123 #242321
split-complementary
#212422 #232124 #242121
monochromatic
#0F100F #0F100F #212422 #3E4440 #5C645E

Accessibility & contrast

On white

15.67
#212422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212422
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212422#FFFFFF#000000##FFFFFF
##2124221.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242322
Deuteranopia (green-blind)
#232322
Tritanopia (blue-blind)
#212423
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #212422;
/* rgb */ color: rgb(33, 36, 34);
/* oklch */ color: oklch(25.6% 0.006 156.8);
Tailwind
colors: {
  custom: {
    50: '#5c5e5c',
    500: '#212422',
    950: '#000000',
  },
}
SCSS
$custom: #212422;
$custom-light: #5c5e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#212422",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 34
  },
  "hsl": {
    "h": 140,
    "s": 4.348,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25646,
    "c": 0.00573,
    "h": 156.8
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#212422
secondary
#534E51
accent
#7A9CAE
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040404
muted
#797979

Preview Lab

Preview with #212422

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

Preview Lab → · Contrast checker → · Palette generator →

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