#AFB98D Color Information
Hex color code: #AFB98D
A pastel yellow shade, #AFB98D appears as (175, 185, 141) in RGB and (74°, 24%, 64%) in HSL. It is commonly used in modern UI design.
Shades
color: #AFB98D; background-color: #AFB98D; border-color: #AFB98D; box-shadow: 0 0 10px #AFB98D; border: 2px solid #AFB98D;
bg-[#AFB98D] text-[#AFB98D] border-[#AFB98D] shadow-[0_0_10px_AFB98D]
Generate Gradient
background: linear-gradient(90deg, #AFB98D, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #AFB98D in the color wheel.
RGB, HSL and CMYK Values
RGB
175, 185, 141
Red: 175 / Green: 185 / Blue: 141
HSL
74°, 24%, 64%
Hue: 74° / Saturation: 24% / Lightness: 64%
CMYK
5%, 0%, 24%, 27%
Cyan: 5% / Magenta: 0% / Yellow: 24% / Key: 27%
What color is #AFB98D?
#AFB98D is a green hue associated with nature and harmony.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#AFB98D is a soft yellow color with RGB values of 175, 185, 141 and HSL of 74°, 24%, 64%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #AFB98D is #978DB9, creating high-contrast pairings. For softer combinations, try analogous colors like #B9AD8D.
Use #AFB98D in CSS: color: #AFB98D or background-color: #AFB98D. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #AFB98D
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #AFB98D?
#AFB98D is a soft yellow color - a green hue that evokes nature and harmony.
What is the RGB value of #AFB98D?
#AFB98D in RGB is (175, 185, 141) - 175 red, 185 green, and 141 blue.
How to use #AFB98D in CSS?
Use #AFB98D directly in your CSS properties like color or background-color.