Color #af9946
A moderately saturated medium yellow.
Conversions
#af9946
rgb(175, 153, 70)
hsl(47.4, 42.9%, 48%)
hsv(47.4, 60%, 68.6%)
cmyk(0%, 12.6%, 60%, 31.4%)
lab(63.62, -2.1, 45.72)
lch(63.62, 45.77, 92.63)
oklch(68.6%, 0.1062, 94.59)
hwb(47.4, 27.5%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (7.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a6a663 · ΔE 8
Deuteranopia
#a7a968 · ΔE 9
Tritanopia
#ae7377 · ΔE 33.3
Achromatopsia
#9a9a9a · ΔE 22.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af9946;
bg-[#af9946]
Related colors
Frequently asked questions
#af9946 (#af9946) is rgb(175, 153, 70) in RGB.
No, #af9946 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 #af9946, or check how it holds up for accessibility.