#AFAB55 Color Information

Hex color code: #AFAB55

A subtle yellow shade, #AFAB55 appears as (175, 171, 85) in RGB and (57°, 36%, 51%) in HSL. It is often used for branding and logos.

Try:
Color NameYellow Green
HEX
#AFAB55
RGB
175, 171, 85
HSL
57°, 36%, 51%
CMYK
0%, 2%, 51%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFAB55; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 171, 85

Red: 175 / Green: 171 / Blue: 85

HSL

57°, 36%, 51%

Hue: 57° / Saturation: 36% / Lightness: 51%

CMYK

0%, 2%, 51%, 31%

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

What color is #AFAB55?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAB55 to RGB:

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

HEX to HSL

Convert #AFAB55 to HSL:

hsl(57, 36%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAB55 to CMYK:

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

Color Meaning and Usage

A soft yellow tone, #AFAB55 has RGB (175, 171, 85) and HSL (57°, 36%, 51%). 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 #AFAB55 is #555AAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF7E55.

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

Contrast with #AFAB55

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAB55?

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

What is the RGB value of #AFAB55?

#AFAB55 in RGB is (175, 171, 85) - 175 red, 171 green, and 85 blue.

How to use #AFAB55 in CSS?

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

What colors go well with #AFAB55?

#555AAF (complementary), #AF7E55 (analogous), and #7D7A3B (lighter shade) work well with #AFAB55.