Color #afa580
A muted medium yellow.
Conversions
#afa580
rgb(175, 165, 128)
hsl(47.2, 22.7%, 59.4%)
hsv(47.2, 26.9%, 68.6%)
cmyk(0%, 5.7%, 26.9%, 31.4%)
lab(67.71, -2.34, 20.53)
lch(67.71, 20.66, 96.5)
oklch(72.1%, 0.0522, 94.73)
hwb(47.2, 50.2%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (8.52:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#abab8a · ΔE 4.4
Deuteranopia
#abac8c · ΔE 5
Tritanopia
#af9293 · ΔE 21.6
Achromatopsia
#a5a5a5 · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa580;
bg-[#afa580]
Related colors
Frequently asked questions
#afa580 (#afa580) is rgb(175, 165, 128) in RGB.
No, #afa580 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 #afa580, or check how it holds up for accessibility.