#AF9C50 Color Information

Hex color code: #AF9C50

The hex color #AF9C50 is a gentle yellow with RGB values of (175, 156, 80) and HSL of (48°, 37%, 50%). It is often used for branding and logos.

Try:
Color NamePeru
HEX
#AF9C50
RGB
175, 156, 80
HSL
48°, 37%, 50%
CMYK
0%, 11%, 54%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF9C50; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 156, 80

Red: 175 / Green: 156 / Blue: 80

HSL

48°, 37%, 50%

Hue: 48° / Saturation: 37% / Lightness: 50%

CMYK

0%, 11%, 54%, 31%

Cyan: 0% / Magenta: 11% / Yellow: 54% / Key: 31%

What color is #AF9C50?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF9C50 to RGB:

rgb(175, 156, 80)HEX to RGB Converter →

HEX to HSL

Convert #AF9C50 to HSL:

hsl(48, 37%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #AF9C50 to CMYK:

cmyk(0%, 11%, 54%, 31%)Color Converter →

Color Meaning and Usage

A pastel yellow tone, #AF9C50 has RGB (175, 156, 80) and HSL (48°, 37%, 50%). Known for evoking optimism and creativity, this orange-yellow hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF9C50 is #5063AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF6D50.

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

Contrast with #AF9C50

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF9C50?

#AF9C50 is a pastel yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AF9C50?

#AF9C50 in RGB is (175, 156, 80) - 175 red, 156 green, and 80 blue.

How to use #AF9C50 in CSS?

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

What colors go well with #AF9C50?

#5063AF (complementary), #AF6D50 (analogous), and #7A6D38 (lighter shade) work well with #AF9C50.