Skip to content
Kolorvia
#ba9907

Color #ba9907

A vivid, highly saturated dark yellow.

Conversions

HEX
#ba9907
RGB
rgb(186, 153, 7)
HSL
hsl(48.9, 92.7%, 37.8%)
HSV / HSB
hsv(48.9, 96.2%, 72.9%)
CMYK
cmyk(0%, 17.7%, 96.2%, 27.1%)
LAB
lab(64.35, 0.32, 67.17)
LCH
lch(64.35, 67.17, 89.73)
OKLCH
oklch(69.3%, 0.1406, 93.22)
HWB
hwb(48.9, 2.7%, 27.1%)

Harmony colors

Complementary

#0728ba

Analogous

#ba3f07
#ba9907
#81ba07

Triadic

#ba9907
#07ba99
#9907ba

Split-complementary

#ba9907
#0781ba
#3f07ba

Tetradic

#ba9907
#28ba07
#0728ba
#9907ba

Square

#ba9907
#07ba3f
#0728ba
#ba0781

Shades

Color #ba9907 mixed toward black.

#9b7f06
#7c6605
#5d4c04
#3e3302
#1f1901

Tints

Color #ba9907 mixed toward white.

#edc309
#f7d333
#f9de66
#fbe999
#fdf4cc

Tones

Color #ba9907 mixed toward gray.

#ab8f16
#9c8625
#8d7d34
#7e7343
#6f6a51

Accessibility

Aa White text on this color
2.75:1
Aa Black text on this color
7.65:1

Black text reads better on this background (7.65:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#adac4f · ΔE 11.2

Deuteranopia

#afb158 · ΔE 12.7

Tritanopia

#b9686d · ΔE 40.1

Achromatopsia

#9c9c9c · ΔE 26.7

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #ba9907;
Tailwind (arbitrary value)
bg-[#ba9907]

Related colors

Cornsilk #fff8dc
Gold #ffd700
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Goldenrod #daa520

Frequently asked questions

#ba9907 (#ba9907) is rgb(186, 153, 7) in RGB.

No, #ba9907 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #ba9907, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.