#AFB35B Color Information

Hex color code: #AFB35B

A soft yellow shade, #AFB35B appears as (175, 179, 91) in RGB and (63°, 37%, 53%) in HSL. It is typically applied in digital products.

Try:
Color NameYellow Green
HEX
#AFB35B
RGB
175, 179, 91
HSL
63°, 37%, 53%
CMYK
2%, 0%, 49%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB35B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 179, 91

Red: 175 / Green: 179 / Blue: 91

HSL

63°, 37%, 53%

Hue: 63° / Saturation: 37% / Lightness: 53%

CMYK

2%, 0%, 49%, 30%

Cyan: 2% / Magenta: 0% / Yellow: 49% / Key: 30%

What color is #AFB35B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB35B to RGB:

rgb(175, 179, 91)HEX to RGB Converter →

HEX to HSL

Convert #AFB35B to HSL:

hsl(63, 37%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB35B to CMYK:

cmyk(2%, 0%, 49%, 30%)Color Converter →

Color Meaning and Usage

#AFB35B is a pastel yellow color with RGB values of 175, 179, 91 and HSL of 63°, 37%, 53%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB35B is #5F5BB3, creating high-contrast pairings. For softer combinations, try analogous colors like #B38C5B.

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

Contrast with #AFB35B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB35B?

#AFB35B is a pastel yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFB35B?

#AFB35B in RGB is (175, 179, 91) - 175 red, 179 green, and 91 blue.

How to use #AFB35B in CSS?

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

What colors go well with #AFB35B?

#5F5BB3 (complementary), #B38C5B (analogous), and #81853D (lighter shade) work well with #AFB35B.