#AF9952 Color Information

Hex color code: #AF9952

A soft yellow shade, #AF9952 appears as (175, 153, 82) in RGB and (46°, 37%, 50%) in HSL. It is widely used in graphic design.

Try:
Color NamePeru
HEX
#AF9952
RGB
175, 153, 82
HSL
46°, 37%, 50%
CMYK
0%, 13%, 53%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF9952; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 153, 82

Red: 175 / Green: 153 / Blue: 82

HSL

46°, 37%, 50%

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

CMYK

0%, 13%, 53%, 31%

Cyan: 0% / Magenta: 13% / Yellow: 53% / Key: 31%

What color is #AF9952?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF9952 to RGB:

rgb(175, 153, 82)HEX to RGB Converter →

HEX to HSL

Convert #AF9952 to HSL:

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

HEX to CMYK

Convert #AF9952 to CMYK:

cmyk(0%, 13%, 53%, 31%)Color Converter →

Color Meaning and Usage

#AF9952 is a soft yellow color with RGB values of 175, 153, 82 and HSL of 46°, 37%, 50%. This orange-yellow hue evokes optimism and creativity, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF9952 is #5066AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF6950.

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

Contrast with #AF9952

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF9952?

#AF9952 is a soft yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AF9952?

#AF9952 in RGB is (175, 153, 82) - 175 red, 153 green, and 82 blue.

How to use #AF9952 in CSS?

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

What colors go well with #AF9952?

#5066AF (complementary), #AF6950 (analogous), and #7A6B38 (lighter shade) work well with #AF9952.