Color #bbab52
A moderately saturated medium yellow.
Conversions
#bbab52
rgb(187, 171, 82)
hsl(50.9, 43.6%, 52.7%)
hsv(50.9, 56.1%, 73.3%)
cmyk(0%, 8.6%, 56.1%, 26.7%)
lab(69.68, -5.63, 47.19)
lch(69.68, 47.52, 96.8)
oklch(73.7%, 0.1117, 99.28)
hwb(50.9, 32.2%, 26.7%)
Harmony colors
Accessibility
Black text reads better on this background (9.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b4b470 · ΔE 6.5
Deuteranopia
#b5b676 · ΔE 7.4
Tritanopia
#ba8286 · ΔE 34.7
Achromatopsia
#aaaaaa · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #bbab52;
bg-[#bbab52]
Related colors
Frequently asked questions
#bbab52 (#bbab52) is rgb(187, 171, 82) in RGB.
No, #bbab52 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 #bbab52, or check how it holds up for accessibility.