#222216#222216

#222216 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.8% C 0.021 H 107.9°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#222216
RGBrgb(34, 34, 22)
HSLhsl(60, 21%, 11%)
HSVhsv(60, 35%, 13%)
CMYKcmyk(0%, 0%, 35.3%, 86.7%)
CIE-LABlab(12.87, -2.58, 8.12)
CIE-LCHlch(12.87, 8.52, 107.61°)
OKLaboklab(24.8% -0.0066 0.0204)
OKLCHoklch(24.8% 0.021 107.9)
XYZxyz(1.3765, 1.5421, 0.9840)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222216 #161622
analogous
#221C16 #222216 #1C2216
triadic
#222216 #162222 #221622
tetradic
#222216 #16221C #161622 #22161C
square
#222216 #16221C #161622 #22161C
split-complementary
#222216 #161C22 #1C1622
monochromatic
#13130C #13130C #222216 #47472E #6C6C46

Accessibility & contrast

On white

16.05
#222216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#222216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222216
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222216#FFFFFF#000000##FFFFFF
##2222161.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242115
Deuteranopia (green-blind)
#242216
Tritanopia (blue-blind)
#24201F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #222216;
/* rgb */ color: rgb(34, 34, 22);
/* oklch */ color: oklch(24.8% 0.021 107.9);
Tailwind
colors: {
  custom: {
    50: '#5d5c53',
    500: '#222216',
    950: '#000000',
  },
}
SCSS
$custom: #222216;
$custom-light: #5d5c53;
$custom-dark: #000000;
JSON
{
  "hex": "#222216",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 21.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.248,
    "c": 0.02144,
    "h": 107.9
  },
  "luminance": 0.01542
}

Semantic roles & 50–950 ramp

primary
#222216
secondary
#3F3F55
accent
#6ABE6A
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #222216

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

Preview Lab → · Contrast checker → · Palette generator →

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