Color #afa480
A muted medium yellow.
Conversions
#afa480
rgb(175, 164, 128)
hsl(46, 22.7%, 59.4%)
hsv(46, 26.9%, 68.6%)
cmyk(0%, 6.3%, 26.9%, 31.4%)
lab(67.44, -1.8, 20.16)
lch(67.44, 20.24, 95.1)
oklch(71.9%, 0.0512, 93.14)
hwb(46, 50.2%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (8.44:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#aaaa8a · ΔE 4.9
Deuteranopia
#abac8c · ΔE 5.4
Tritanopia
#ae9193 · ΔE 21.5
Achromatopsia
#a4a4a4 · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa480;
bg-[#afa480]
Related colors
Frequently asked questions
#afa480 (#afa480) is rgb(175, 164, 128) in RGB.
No, #afa480 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 #afa480, or check how it holds up for accessibility.