#BA7F2C Color Information

Hex color code: #BA7F2C

The hex color #BA7F2C is a understated orange with RGB values of (186, 127, 44) and HSL of (35°, 62%, 45%). It is widely used in graphic design.

Try:
Color NamePeru
HEX
#BA7F2C
RGB
186, 127, 44
HSL
35°, 62%, 45%
CMYK
0%, 32%, 76%, 27%

Shades

CSS Usage
color: #BA7F2C;
background-color: #BA7F2C;
border-color: #BA7F2C;
box-shadow: 0 0 10px #BA7F2C;
border: 2px solid #BA7F2C;
Tailwind Usage
bg-[#BA7F2C]
text-[#BA7F2C]
border-[#BA7F2C]
shadow-[0_0_10px_BA7F2C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #BA7F2C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #BA7F2C; color: #000000; }

Badge

New Feature
.badge { background-color: #BA7F2C; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #BA7F2C; background-color: #BA7F2C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #BA7F2C20; border-left: 4px solid #BA7F2C; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #BA7F2C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #BA7F2C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 127, 44

Red: 186 / Green: 127 / Blue: 44

HSL

35°, 62%, 45%

Hue: 35° / Saturation: 62% / Lightness: 45%

CMYK

0%, 32%, 76%, 27%

Cyan: 0% / Magenta: 32% / Yellow: 76% / Key: 27%

What color is #BA7F2C?

#BA7F2C is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA7F2C to RGB:

rgb(186, 127, 44)HEX to RGB Converter →

HEX to HSL

Convert #BA7F2C to HSL:

hsl(35, 62%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #BA7F2C to CMYK:

cmyk(0%, 32%, 76%, 27%)Color Converter →

Color Meaning and Usage

A understated orange tone, #BA7F2C has RGB (186, 127, 44) and HSL (35°, 62%, 45%). Known for evoking optimism and creativity, this orange-yellow hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA7F2C is #2C67BA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA372C.

Use #BA7F2C in CSS: color: #BA7F2C or background-color: #BA7F2C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #BA7F2C

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 6.16:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA7F2C?

#BA7F2C is a understated orange color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #BA7F2C?

#BA7F2C in RGB is (186, 127, 44) - 186 red, 127 green, and 44 blue.

How to use #BA7F2C in CSS?

Use #BA7F2C directly in your CSS properties like color or background-color.

What colors go well with #BA7F2C?

#2C67BA (complementary), #BA372C (analogous), and #7C541D (lighter shade) work well with #BA7F2C.