#AF7D2E Color Information

Hex color code: #AF7D2E

A understated orange shade, #AF7D2E appears as (175, 125, 46) in RGB and (37°, 58%, 43%) in HSL. It is widely used in graphic design.

Try:
Color NamePeru
HEX
#AF7D2E
RGB
175, 125, 46
HSL
37°, 58%, 43%
CMYK
0%, 29%, 74%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AF7D2E; 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 #AF7D2E; background-color: #AF7D2E15; }

Alert / Toast

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

Link / Accent

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

a { color: #AF7D2E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 125, 46

Red: 175 / Green: 125 / Blue: 46

HSL

37°, 58%, 43%

Hue: 37° / Saturation: 58% / Lightness: 43%

CMYK

0%, 29%, 74%, 31%

Cyan: 0% / Magenta: 29% / Yellow: 74% / Key: 31%

What color is #AF7D2E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF7D2E to RGB:

rgb(175, 125, 46)HEX to RGB Converter →

HEX to HSL

Convert #AF7D2E to HSL:

hsl(37, 58%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #AF7D2E to CMYK:

cmyk(0%, 29%, 74%, 31%)Color Converter →

Color Meaning and Usage

A neutral orange tone, #AF7D2E has RGB (175, 125, 46) and HSL (37°, 58%, 43%). Known for evoking optimism and creativity, this orange-yellow hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF7D2E is #2E5FAD, creating high-contrast pairings. For softer combinations, try analogous colors like #AD3D2E.

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

Contrast with #AF7D2E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF7D2E?

#AF7D2E is a neutral orange color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AF7D2E?

#AF7D2E in RGB is (175, 125, 46) - 175 red, 125 green, and 46 blue.

How to use #AF7D2E in CSS?

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

What colors go well with #AF7D2E?

#2E5FAD (complementary), #AD3D2E (analogous), and #71511E (lighter shade) work well with #AF7D2E.