Color #afbe41
A moderately saturated medium yellow.
Conversions
#afbe41
rgb(175, 190, 65)
hsl(67.2, 49%, 50%)
hsv(67.2, 65.8%, 74.5%)
cmyk(7.9%, 0%, 65.8%, 25.5%)
lab(73.75, -21.63, 58.89)
lch(73.75, 62.74, 110.17)
oklch(76.6%, 0.1479, 115.85)
hwb(67.2, 25.5%, 25.5%)
Harmony colors
Accessibility
Black text reads better on this background (10.26:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b6b671 · ΔE 8.3
Deuteranopia
#b5b479 · ΔE 10.2
Tritanopia
#b08a8e · ΔE 40
Achromatopsia
#b5b5b5 · ΔE 26.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afbe41;
bg-[#afbe41]
Related colors
Frequently asked questions
#afbe41 (#afbe41) is rgb(175, 190, 65) in RGB.
No, #afbe41 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 #afbe41, or check how it holds up for accessibility.