#AFB654 Color Information

Hex color code: #AFB654

A pastel yellow shade, #AFB654 appears as (175, 182, 84) in RGB and (64°, 40%, 52%) in HSL. It is commonly used in modern UI design.

Try:
Color NameYellow Green
HEX
#AFB654
RGB
175, 182, 84
HSL
64°, 40%, 52%
CMYK
4%, 0%, 54%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB654; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 182, 84

Red: 175 / Green: 182 / Blue: 84

HSL

64°, 40%, 52%

Hue: 64° / Saturation: 40% / Lightness: 52%

CMYK

4%, 0%, 54%, 29%

Cyan: 4% / Magenta: 0% / Yellow: 54% / Key: 29%

What color is #AFB654?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB654 to RGB:

rgb(175, 182, 84)HEX to RGB Converter →

HEX to HSL

Convert #AFB654 to HSL:

hsl(64, 40%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB654 to CMYK:

cmyk(4%, 0%, 54%, 29%)Color Converter →

Color Meaning and Usage

A gentle yellow tone, #AFB654 has RGB (175, 182, 84) and HSL (64°, 40%, 52%). Known for evoking nature and harmony, this green hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB654 is #5A54B6, creating high-contrast pairings. For softer combinations, try analogous colors like #B68B54.

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

Contrast with #AFB654

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB654?

#AFB654 is a gentle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFB654?

#AFB654 in RGB is (175, 182, 84) - 175 red, 182 green, and 84 blue.

How to use #AFB654 in CSS?

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

What colors go well with #AFB654?

#5A54B6 (complementary), #B68B54 (analogous), and #7F8439 (lighter shade) work well with #AFB654.