Color #b7a152
A moderately saturated medium yellow.
Conversions
#b7a152
rgb(183, 161, 82)
hsl(46.9, 41.2%, 52%)
hsv(46.9, 55.2%, 71.8%)
cmyk(0%, 12%, 55.2%, 28.2%)
lab(66.65, -2.01, 43.56)
lch(66.65, 43.61, 92.64)
oklch(71.2%, 0.1027, 94.08)
hwb(46.9, 32.2%, 28.2%)
Harmony colors
Accessibility
Black text reads better on this background (8.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#aeae6c · ΔE 7.8
Deuteranopia
#afb171 · ΔE 8.7
Tritanopia
#b67c7f · ΔE 32
Achromatopsia
#a2a2a2 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b7a152;
bg-[#b7a152]
Related colors
Frequently asked questions
#b7a152 (#b7a152) is rgb(183, 161, 82) in RGB.
No, #b7a152 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 #b7a152, or check how it holds up for accessibility.