#AFAF5A Color Information

Hex color code: #AFAF5A

A subtle yellow shade, #AFAF5A appears as (175, 175, 90) in RGB and (60°, 35%, 52%) in HSL. It is often used for branding and logos.

Try:
Color NameYellow Green
HEX
#AFAF5A
RGB
175, 175, 90
HSL
60°, 35%, 52%
CMYK
0%, 0%, 49%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFAF5A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 175, 90

Red: 175 / Green: 175 / Blue: 90

HSL

60°, 35%, 52%

Hue: 60° / Saturation: 35% / Lightness: 52%

CMYK

0%, 0%, 49%, 31%

Cyan: 0% / Magenta: 0% / Yellow: 49% / Key: 31%

What color is #AFAF5A?

#AFAF5A is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAF5A to RGB:

rgb(175, 175, 90)HEX to RGB Converter →

HEX to HSL

Convert #AFAF5A to HSL:

hsl(60, 35%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAF5A to CMYK:

cmyk(0%, 0%, 49%, 31%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #AFAF5A has RGB (175, 175, 90) and HSL (60°, 35%, 52%). Known for evoking nature and harmony, this green hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAF5A is #5A5AAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF855A.

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

Contrast with #AFAF5A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAF5A?

#AFAF5A is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFAF5A?

#AFAF5A in RGB is (175, 175, 90) - 175 red, 175 green, and 90 blue.

How to use #AFAF5A in CSS?

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

What colors go well with #AFAF5A?

#5A5AAF (complementary), #AF855A (analogous), and #7F7F3D (lighter shade) work well with #AFAF5A.