Color #afa145
A moderately saturated medium yellow.
Conversions
#afa145
rgb(175, 161, 69)
hsl(52.1, 43.4%, 47.8%)
hsv(52.1, 60.6%, 68.6%)
cmyk(0%, 8%, 60.6%, 31.4%)
lab(65.78, -6.47, 48.61)
lch(65.78, 49.04, 97.58)
oklch(70.3%, 0.1139, 100.73)
hwb(52.1, 27.1%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (8.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a9a965 · ΔE 6.4
Deuteranopia
#aaab6c · ΔE 7.5
Tritanopia
#ae787c · ΔE 35.4
Achromatopsia
#a0a0a0 · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa145;
bg-[#afa145]
Related colors
Frequently asked questions
#afa145 (#afa145) is rgb(175, 161, 69) in RGB.
No, #afa145 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 #afa145, or check how it holds up for accessibility.