Color #afa577
A muted medium yellow.
Conversions
#afa577
rgb(175, 165, 119)
hsl(49.3, 25.9%, 57.6%)
hsv(49.3, 32%, 68.6%)
cmyk(0%, 5.7%, 32%, 31.4%)
lab(67.54, -3.56, 25.2)
lch(67.54, 25.45, 98.04)
oklch(71.9%, 0.0635, 97.33)
hwb(49.3, 46.7%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (8.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#abab84 · ΔE 4.3
Deuteranopia
#abac87 · ΔE 5
Tritanopia
#af8d8f · ΔE 25.3
Achromatopsia
#a4a4a4 · ΔE 16.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa577;
bg-[#afa577]
Related colors
Frequently asked questions
#afa577 (#afa577) is rgb(175, 165, 119) in RGB.
No, #afa577 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 #afa577, or check how it holds up for accessibility.