#AFB780 Color Information

Hex color code: #AFB780

A soft yellow shade, #AFB780 appears as (175, 183, 128) in RGB and (69°, 28%, 61%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Sea Green
HEX
#AFB780
RGB
175, 183, 128
HSL
69°, 28%, 61%
CMYK
4%, 0%, 30%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB780; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 183, 128

Red: 175 / Green: 183 / Blue: 128

HSL

69°, 28%, 61%

Hue: 69° / Saturation: 28% / Lightness: 61%

CMYK

4%, 0%, 30%, 28%

Cyan: 4% / Magenta: 0% / Yellow: 30% / Key: 28%

What color is #AFB780?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB780 to RGB:

rgb(175, 183, 128)HEX to RGB Converter →

HEX to HSL

Convert #AFB780 to HSL:

hsl(69, 28%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB780 to CMYK:

cmyk(4%, 0%, 30%, 28%)Color Converter →

Color Meaning and Usage

A pastel yellow tone, #AFB780 has RGB (175, 183, 128) and HSL (69°, 28%, 61%). Known for evoking nature and harmony, this green hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB780 is #8880B7, creating high-contrast pairings. For softer combinations, try analogous colors like #B7A480.

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

Contrast with #AFB780

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB780?

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

What is the RGB value of #AFB780?

#AFB780 in RGB is (175, 183, 128) - 175 red, 183 green, and 128 blue.

How to use #AFB780 in CSS?

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

What colors go well with #AFB780?

#8880B7 (complementary), #B7A480 (analogous), and #8C9654 (lighter shade) work well with #AFB780.