#AFB371 Color Information

Hex color code: #AFB371

A delicate yellow shade, #AFB371 appears as (175, 179, 113) in RGB and (64°, 30%, 57%) in HSL. It is widely used in graphic design.

Try:
Color NameTan
HEX
#AFB371
RGB
175, 179, 113
HSL
64°, 30%, 57%
CMYK
2%, 0%, 37%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB371; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 179, 113

Red: 175 / Green: 179 / Blue: 113

HSL

64°, 30%, 57%

Hue: 64° / Saturation: 30% / Lightness: 57%

CMYK

2%, 0%, 37%, 30%

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

What color is #AFB371?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB371 to RGB:

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

HEX to HSL

Convert #AFB371 to HSL:

hsl(64, 30%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB371 to CMYK:

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

Color Meaning and Usage

#AFB371 is a delicate yellow color with RGB values of 175, 179, 113 and HSL of 64°, 30%, 57%. This green hue evokes nature and harmony, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB371 is #7570B2, creating high-contrast pairings. For softer combinations, try analogous colors like #B29670.

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

Contrast with #AFB371

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB371?

#AFB371 is a delicate yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFB371?

#AFB371 in RGB is (175, 179, 113) - 175 red, 179 green, and 113 blue.

How to use #AFB371 in CSS?

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

What colors go well with #AFB371?

#7570B2 (complementary), #B29670 (analogous), and #878B4B (lighter shade) work well with #AFB371.