#AFB53B Color Information

Hex color code: #AFB53B

#AFB53B is a neutral yellow color. In RGB it is (175, 181, 59), and in HSL it is (63°, 51%, 47%). It is commonly used in modern UI design.

Try:
Color NameYellow Green
HEX
#AFB53B
RGB
175, 181, 59
HSL
63°, 51%, 47%
CMYK
3%, 0%, 67%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB53B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 181, 59

Red: 175 / Green: 181 / Blue: 59

HSL

63°, 51%, 47%

Hue: 63° / Saturation: 51% / Lightness: 47%

CMYK

3%, 0%, 67%, 29%

Cyan: 3% / Magenta: 0% / Yellow: 67% / Key: 29%

What color is #AFB53B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB53B to RGB:

rgb(175, 181, 59)HEX to RGB Converter →

HEX to HSL

Convert #AFB53B to HSL:

hsl(63, 51%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB53B to CMYK:

cmyk(3%, 0%, 67%, 29%)Color Converter →

Color Meaning and Usage

A balanced yellow tone, #AFB53B has RGB (175, 181, 59) and HSL (63°, 51%, 47%). Known for evoking nature and harmony, this green hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB53B is #413BB5, creating high-contrast pairings. For softer combinations, try analogous colors like #B57E3B.

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

Contrast with #AFB53B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB53B?

#AFB53B is a balanced yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFB53B?

#AFB53B in RGB is (175, 181, 59) - 175 red, 181 green, and 59 blue.

How to use #AFB53B in CSS?

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

What colors go well with #AFB53B?

#413BB5 (complementary), #B57E3B (analogous), and #777B28 (lighter shade) work well with #AFB53B.