Color #ba9f4d
A moderately saturated medium yellow.
Conversions
#ba9f4d
rgb(186, 159, 77)
hsl(45.1, 44.1%, 51.6%)
hsv(45.1, 58.6%, 72.9%)
cmyk(0%, 14.5%, 58.6%, 27.1%)
lab(66.35, -0.04, 45.73)
lch(66.35, 45.73, 90.05)
oklch(71%, 0.1065, 91.29)
hwb(45.1, 30.2%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (8.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#afaf69 · ΔE 9.2
Deuteranopia
#b1b26e · ΔE 9.9
Tritanopia
#b9797d · ΔE 32.7
Achromatopsia
#a1a1a1 · ΔE 22.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba9f4d;
bg-[#ba9f4d]
Related colors
Frequently asked questions
#ba9f4d (#ba9f4d) is rgb(186, 159, 77) in RGB.
No, #ba9f4d 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 #ba9f4d, or check how it holds up for accessibility.