#AFB738 Color Information

Hex color code: #AFB738

The hex color #AFB738 is a balanced yellow with RGB values of (175, 183, 56) and HSL of (64°, 53%, 47%). It is frequently seen in web interfaces.

Try:
Color NameYellow Green
HEX
#AFB738
RGB
175, 183, 56
HSL
64°, 53%, 47%
CMYK
4%, 0%, 69%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB738; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 183, 56

Red: 175 / Green: 183 / Blue: 56

HSL

64°, 53%, 47%

Hue: 64° / Saturation: 53% / Lightness: 47%

CMYK

4%, 0%, 69%, 28%

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

What color is #AFB738?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB738 to RGB:

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

HEX to HSL

Convert #AFB738 to HSL:

hsl(64, 53%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB738 to CMYK:

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

Color Meaning and Usage

#AFB738 is a muted yellow color with RGB values of 175, 183, 56 and HSL of 64°, 53%, 47%. This green hue evokes nature and harmony, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB738 is #4138B7, creating high-contrast pairings. For softer combinations, try analogous colors like #B78038.

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

Contrast with #AFB738

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB738?

#AFB738 is a muted yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFB738?

#AFB738 in RGB is (175, 183, 56) - 175 red, 183 green, and 56 blue.

How to use #AFB738 in CSS?

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

What colors go well with #AFB738?

#4138B7 (complementary), #B78038 (analogous), and #777D26 (lighter shade) work well with #AFB738.