Color #afac99
A nearly neutral, gray-leaning light yellow.
Conversions
#afac99
rgb(175, 172, 153)
hsl(51.8, 12.1%, 64.3%)
hsv(51.8, 12.6%, 68.6%)
cmyk(0%, 1.7%, 12.6%, 31.4%)
lab(70.12, -2.28, 10.16)
lch(70.12, 10.41, 102.65)
oklch(74.2%, 0.0268, 99.67)
hwb(51.8, 60%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (9.18:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#aeae9e · ΔE 1.8
Deuteranopia
#aeae9f · ΔE 2
Tritanopia
#afa2a2 · ΔE 12.4
Achromatopsia
#ababab · ΔE 8.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afac99;
bg-[#afac99]
Related colors
Frequently asked questions
#afac99 (#afac99) is rgb(175, 172, 153) in RGB.
No, #afac99 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 #afac99, or check how it holds up for accessibility.