#AFA074 Color Information

Hex color code: #AFA074

The hex color #AFA074 is a pastel yellow with RGB values of (175, 160, 116) and HSL of (45°, 27%, 57%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#AFA074
RGB
175, 160, 116
HSL
45°, 27%, 57%
CMYK
0%, 9%, 34%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA074; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 160, 116

Red: 175 / Green: 160 / Blue: 116

HSL

45°, 27%, 57%

Hue: 45° / Saturation: 27% / Lightness: 57%

CMYK

0%, 9%, 34%, 31%

Cyan: 0% / Magenta: 9% / Yellow: 34% / Key: 31%

What color is #AFA074?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA074 to RGB:

rgb(175, 160, 116)HEX to RGB Converter →

HEX to HSL

Convert #AFA074 to HSL:

hsl(45, 27%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA074 to CMYK:

cmyk(0%, 9%, 34%, 31%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #AFA074 has RGB (175, 160, 116) and HSL (45°, 27%, 57%). Known for evoking optimism and creativity, this orange-yellow hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA074 is #7483AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF8374.

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

Contrast with #AFA074

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA074?

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

What is the RGB value of #AFA074?

#AFA074 in RGB is (175, 160, 116) - 175 red, 160 green, and 116 blue.

How to use #AFA074 in CSS?

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

What colors go well with #AFA074?

#7483AF (complementary), #AF8374 (analogous), and #887A4E (lighter shade) work well with #AFA074.