Color #222118
A muted very dark yellow.
Conversions
#222118
rgb(34, 33, 24)
hsl(54, 17.2%, 11.4%)
hsv(54, 29.4%, 13.3%)
cmyk(0%, 2.9%, 29.4%, 86.7%)
lab(12.57, -1.5, 6.28)
lch(12.57, 6.46, 103.43)
oklch(24.6%, 0.0164, 102.34)
hwb(54, 9.4%, 86.7%)
Harmony colors
Accessibility
White text reads better on this background (16.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#22221a · ΔE 0.9
Deuteranopia
#22221b · ΔE 1.3
Tritanopia
#221c1d · ΔE 8.7
Achromatopsia
#212121 · ΔE 5.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #222118;
bg-[#222118]
Related colors
Frequently asked questions
#222118 (#222118) is rgb(34, 33, 24) in RGB.
No, #222118 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #222118, or check how it holds up for accessibility.