Color #b5a751
A moderately saturated medium yellow.
Conversions
#b5a751
rgb(181, 167, 81)
hsl(51.6, 40.3%, 51.4%)
hsv(51.6, 55.2%, 71%)
cmyk(0%, 7.7%, 55.2%, 29%)
lab(68.06, -6.15, 45.65)
lch(68.06, 46.06, 97.67)
oklch(72.3%, 0.1086, 100.18)
hwb(51.6, 31.8%, 29%)
Harmony colors
Accessibility
Black text reads better on this background (8.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#afaf6e · ΔE 6.1
Deuteranopia
#b0b174 · ΔE 7.1
Tritanopia
#b47f83 · ΔE 34.3
Achromatopsia
#a6a6a6 · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b5a751;
bg-[#b5a751]
Related colors
Frequently asked questions
#b5a751 (#b5a751) is rgb(181, 167, 81) in RGB.
No, #b5a751 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 #b5a751, or check how it holds up for accessibility.