Color #afaf98
A nearly neutral, gray-leaning light yellow.
Conversions
#afaf98
rgb(175, 175, 152)
hsl(60, 12.6%, 64.1%)
hsv(60, 13.1%, 68.6%)
cmyk(0%, 0%, 13.1%, 31.4%)
lab(70.9, -4.05, 11.82)
lch(70.9, 12.49, 108.91)
oklch(74.8%, 0.032, 107.08)
hwb(60, 59.6%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (9.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#afaf9e · ΔE 2.3
Deuteranopia
#afaf9f · ΔE 2.7
Tritanopia
#afa2a3 · ΔE 15.4
Achromatopsia
#adadad · ΔE 10.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afaf98;
bg-[#afaf98]
Related colors
Frequently asked questions
#afaf98 (#afaf98) is rgb(175, 175, 152) in RGB.
No, #afaf98 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 #afaf98, or check how it holds up for accessibility.