Skip to content

#BA8D12 Color

#BA8D12 is rgb(186, 141, 18) in RGB, hsl(44, 82%, 40%) in HSL, and about cmyk(0%, 24%, 90%, 27%) in CMYK. It has no registered color name of its own — the closest is Dark Goldenrod (#B8860B), very hard to tell apart at ΔE 3.38. Black text is the more readable choice on this background.

#BA8D12
HEX#BA8D12
RGBrgb(186, 141, 18)
HSLhsl(44, 82%, 40%)
HSVhsv(44, 90%, 73%)
CMYKcmyk(0%, 24%, 90%, 27%)
OKLCHoklch(66.9% 0.133 85)
LABlab(61.70% 10.36 62.91)
LCHlch(61.70% 63.75 80.65)

What #BA8D12 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #BA8D12, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every yellow in the library.

#BA8D12 Channel Values

How #BA8D12 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 186 · G 141 · B 188-bit channels as sent to the display
HSLH 44° · S 82% · L 40%Easiest model for building lighter and darker variants
HSVH 44° · S 90% · V 73%Matches the picker in most design tools
CMYKC 0% · M 24% · Y 90% · K 27%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.04:1 vs white · 6.91:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #BA8D12 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text3.04:1AA normal AA large AAA normal
TextBlack text6.91:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #BA8D12 in the contrast checker.

Colors That Go With #BA8D12

Pairings derived from color-wheel relationships. The complementary color sits opposite #BA8D12; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #BA8D12

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #BA8D12.

How #BA8D12 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#BA8D12
Protanopia#969610
Protanomaly#A69211
Deuteranopia#9E9E00
Deuteranomaly#AA9708
Tritanopia#C08585
Tritanomaly#BD8869
Achromatopsia#949494

Test a full palette in the color blindness simulator.

Using #BA8D12 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-ba8d12: #BA8D12;
CSS backgroundbackground-color: #BA8D12;
Tailwind configcolors: { 'color-ba8d12': '#BA8D12' }
SwiftUIColor(red: 0.729, green: 0.553, blue: 0.071)
Android XML<color name="color_ba8d12">#BA8D12</color>
SVG fillfill="#BA8D12"

More Yellow Colors

#BA8D12 sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#BA8D12 Frequently Asked Questions

What color is #BA8D12?

#BA8D12 is a mid-tone yellow — rgb(186, 141, 18) in RGB and hsl(44, 82%, 40%) in HSL. It carries no registered color name of its own; the closest named color is Dark Goldenrod (#B8860B), which is very hard to tell apart at a CIE76 distance of 3.38.

What is the RGB value of #BA8D12?

#BA8D12 is rgb(186, 141, 18) — red 186, green 141, and blue 18 on the 0-255 scale.

What is the CMYK value of #BA8D12?

#BA8D12 converts to approximately cmyk(0%, 24%, 90%, 27%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #BA8D12 be black or white?

Black text is the more readable choice. #BA8D12 scores 3.04:1 against white and 6.91:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #BA8D12 as a CSS color keyword?

No. #BA8D12 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkgoldenrod (#B8860B) at a CIE76 distance of 3.38, which is very hard to tell apart.

Open #BA8D12 in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.