#AFAC6E Color Information

Hex color code: #AFAC6E

The hex color #AFAC6E is a subtle yellow with RGB values of (175, 172, 110) and HSL of (57°, 29%, 56%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AFAC6E
RGB
175, 172, 110
HSL
57°, 29%, 56%
CMYK
0%, 2%, 37%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFAC6E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 172, 110

Red: 175 / Green: 172 / Blue: 110

HSL

57°, 29%, 56%

Hue: 57° / Saturation: 29% / Lightness: 56%

CMYK

0%, 2%, 37%, 31%

Cyan: 0% / Magenta: 2% / Yellow: 37% / Key: 31%

What color is #AFAC6E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAC6E to RGB:

rgb(175, 172, 110)HEX to RGB Converter →

HEX to HSL

Convert #AFAC6E to HSL:

hsl(57, 29%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAC6E to CMYK:

cmyk(0%, 2%, 37%, 31%)Color Converter →

Color Meaning and Usage

#AFAC6E is a gentle yellow color with RGB values of 175, 172, 110 and HSL of 57°, 29%, 56%. This orange-yellow hue evokes optimism and creativity, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAC6E is #6E72AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF8C6E.

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

Contrast with #AFAC6E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAC6E?

#AFAC6E is a gentle yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AFAC6E?

#AFAC6E in RGB is (175, 172, 110) - 175 red, 172 green, and 110 blue.

How to use #AFAC6E in CSS?

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

What colors go well with #AFAC6E?

#6E72AF (complementary), #AF8C6E (analogous), and #87844A (lighter shade) work well with #AFAC6E.