Color #afafab
A nearly neutral, gray-leaning light yellow.
Conversions
#afafab
rgb(175, 175, 171)
hsl(60, 2.4%, 67.8%)
hsv(60, 2.3%, 68.6%)
cmyk(0%, 0%, 2.3%, 31.4%)
lab(71.36, -0.74, 2.05)
lch(71.36, 2.18, 109.85)
oklch(75.3%, 0.0056, 106.5)
hwb(60, 67.1%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (9.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#afafac · ΔE 0.5
Deuteranopia
#afafac · ΔE 0.5
Tritanopia
#afadad · ΔE 2.8
Achromatopsia
#afafaf · ΔE 2.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afafab;
bg-[#afafab]
Related colors
Frequently asked questions
#afafab (#afafab) is rgb(175, 175, 171) in RGB.
No, #afafab 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 #afafab, or check how it holds up for accessibility.