Color #bbab51
A moderately saturated medium yellow.
Conversions
#bbab51
rgb(187, 171, 81)
hsl(50.9, 43.8%, 52.5%)
hsv(50.9, 56.7%, 73.3%)
cmyk(0%, 8.6%, 56.7%, 26.7%)
lab(69.67, -5.71, 47.65)
lch(69.67, 47.99, 96.83)
oklch(73.7%, 0.1126, 99.35)
hwb(50.9, 31.8%, 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.6
Deuteranopia
#b5b676 · ΔE 7.5
Tritanopia
#ba8286 · ΔE 34.9
Achromatopsia
#aaaaaa · ΔE 23.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #bbab51;
bg-[#bbab51]
Related colors
Frequently asked questions
#bbab51 (#bbab51) is rgb(187, 171, 81) in RGB.
No, #bbab51 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 #bbab51, or check how it holds up for accessibility.