#AFAB6E Color Information

Hex color code: #AFAB6E

A pastel yellow shade, #AFAB6E appears as (175, 171, 110) in RGB and (56°, 29%, 56%) in HSL. It is commonly used in modern UI design.

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

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFAB6E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 171, 110

Red: 175 / Green: 171 / Blue: 110

HSL

56°, 29%, 56%

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

CMYK

0%, 2%, 37%, 31%

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

What color is #AFAB6E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAB6E to RGB:

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

HEX to HSL

Convert #AFAB6E to HSL:

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

HEX to CMYK

Convert #AFAB6E to CMYK:

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

Color Meaning and Usage

#AFAB6E is a gentle yellow color with RGB values of 175, 171, 110 and HSL of 56°, 29%, 56%. This orange-yellow hue evokes optimism and creativity, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAB6E is #6E73AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF8A6E.

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

Contrast with #AFAB6E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAB6E?

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

What is the RGB value of #AFAB6E?

#AFAB6E in RGB is (175, 171, 110) - 175 red, 171 green, and 110 blue.

How to use #AFAB6E in CSS?

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

What colors go well with #AFAB6E?

#6E73AF (complementary), #AF8A6E (analogous), and #87834A (lighter shade) work well with #AFAB6E.