#AF971D Color Information

Hex color code: #AF971D

#AF971D is a striking yellow color. In RGB it is (175, 151, 29), and in HSL it is (50°, 72%, 40%). It is popular in mobile app design.

Try:
Color NameDark Goldenrod
HEX
#AF971D
RGB
175, 151, 29
HSL
50°, 72%, 40%
CMYK
0%, 14%, 83%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF971D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 151, 29

Red: 175 / Green: 151 / Blue: 29

HSL

50°, 72%, 40%

Hue: 50° / Saturation: 72% / Lightness: 40%

CMYK

0%, 14%, 83%, 31%

Cyan: 0% / Magenta: 14% / Yellow: 83% / Key: 31%

What color is #AF971D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF971D to RGB:

rgb(175, 151, 29)HEX to RGB Converter →

HEX to HSL

Convert #AF971D to HSL:

hsl(50, 72%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #AF971D to CMYK:

cmyk(0%, 14%, 83%, 31%)Color Converter →

Color Meaning and Usage

A striking yellow tone, #AF971D has RGB (175, 151, 29) and HSL (50°, 72%, 40%). Known for evoking optimism and creativity, this orange-yellow hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF971D is #1D35AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF4E1D.

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

Contrast with #AF971D

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

Contrast Ratio: 7.27:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF971D?

#AF971D is a striking yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AF971D?

#AF971D in RGB is (175, 151, 29) - 175 red, 151 green, and 29 blue.

How to use #AF971D in CSS?

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

What colors go well with #AF971D?

#1D35AF (complementary), #AF4E1D (analogous), and #6E5E12 (lighter shade) work well with #AF971D.