#AFBA8C Color Information

Hex color code: #AFBA8C

A subtle yellow shade, #AFBA8C appears as (175, 186, 140) in RGB and (74°, 25%, 64%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Sea Green
HEX
#AFBA8C
RGB
175, 186, 140
HSL
74°, 25%, 64%
CMYK
6%, 0%, 25%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFBA8C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 186, 140

Red: 175 / Green: 186 / Blue: 140

HSL

74°, 25%, 64%

Hue: 74° / Saturation: 25% / Lightness: 64%

CMYK

6%, 0%, 25%, 27%

Cyan: 6% / Magenta: 0% / Yellow: 25% / Key: 27%

What color is #AFBA8C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFBA8C to RGB:

rgb(175, 186, 140)HEX to RGB Converter →

HEX to HSL

Convert #AFBA8C to HSL:

hsl(74, 25%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #AFBA8C to CMYK:

cmyk(6%, 0%, 25%, 27%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #AFBA8C has RGB (175, 186, 140) and HSL (74°, 25%, 64%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFBA8C is #978CBA, creating high-contrast pairings. For softer combinations, try analogous colors like #BAAE8C.

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

Contrast with #AFBA8C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFBA8C?

#AFBA8C is a soft yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFBA8C?

#AFBA8C in RGB is (175, 186, 140) - 175 red, 186 green, and 140 blue.

How to use #AFBA8C in CSS?

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

What colors go well with #AFBA8C?

#978CBA (complementary), #BAAE8C (analogous), and #8E9C5E (lighter shade) work well with #AFBA8C.