Color #afa45c
A muted medium yellow.
Conversions
#afa45c
rgb(175, 164, 92)
hsl(52, 34.2%, 52.4%)
hsv(52, 47.4%, 68.6%)
cmyk(0%, 6.3%, 47.4%, 31.4%)
lab(66.85, -6.11, 38.59)
lch(66.85, 39.07, 99)
oklch(71.2%, 0.0941, 100.71)
hwb(52, 36.1%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (8.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#aaaa73 · ΔE 5.2
Deuteranopia
#abac78 · ΔE 6.1
Tritanopia
#ae8284 · ΔE 30.7
Achromatopsia
#a3a3a3 · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa45c;
bg-[#afa45c]
Related colors
Frequently asked questions
#afa45c (#afa45c) is rgb(175, 164, 92) in RGB.
No, #afa45c 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 #afa45c, or check how it holds up for accessibility.