#A5B172 Color Information

Hex color code: #A5B172

#A5B172 is a soft yellow color. In RGB it is (165, 177, 114), and in HSL it is (71°, 29%, 57%). It is typically applied in digital products.

Try:
Color NameDark Sea Green
HEX
#A5B172
RGB
165, 177, 114
HSL
71°, 29%, 57%
CMYK
7%, 0%, 36%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A5B172; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

165, 177, 114

Red: 165 / Green: 177 / Blue: 114

HSL

71°, 29%, 57%

Hue: 71° / Saturation: 29% / Lightness: 57%

CMYK

7%, 0%, 36%, 31%

Cyan: 7% / Magenta: 0% / Yellow: 36% / Key: 31%

What color is #A5B172?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A5B172 to RGB:

rgb(165, 177, 114)HEX to RGB Converter →

HEX to HSL

Convert #A5B172 to HSL:

hsl(71, 29%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #A5B172 to CMYK:

cmyk(7%, 0%, 36%, 31%)Color Converter →

Color Meaning and Usage

A pastel yellow tone, #A5B172 has RGB (165, 177, 114) and HSL (71°, 29%, 57%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A5B172 is #7D72B1, creating high-contrast pairings. For softer combinations, try analogous colors like #B19D72.

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

Contrast with #A5B172

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A5B172?

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

What is the RGB value of #A5B172?

#A5B172 in RGB is (165, 177, 114) - 165 red, 177 green, and 114 blue.

How to use #A5B172 in CSS?

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

What colors go well with #A5B172?

#7D72B1 (complementary), #B19D72 (analogous), and #7F8A4C (lighter shade) work well with #A5B172.