Color #afa77b
A muted medium yellow.
Conversions
#afa77b
rgb(175, 167, 123)
hsl(50.8, 24.5%, 58.4%)
hsv(50.8, 29.7%, 68.6%)
cmyk(0%, 4.6%, 29.7%, 31.4%)
lab(68.15, -4.1, 23.85)
lch(68.15, 24.2, 99.75)
oklch(72.4%, 0.0606, 99.01)
hwb(50.8, 48.2%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (8.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#acac87 · ΔE 3.7
Deuteranopia
#acad8a · ΔE 4.4
Tritanopia
#af9092 · ΔE 24.8
Achromatopsia
#a6a6a6 · ΔE 15.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa77b;
bg-[#afa77b]
Related colors
Frequently asked questions
#afa77b (#afa77b) is rgb(175, 167, 123) in RGB.
No, #afa77b 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 #afa77b, or check how it holds up for accessibility.