#AFA128
Yellow
HEX
RGB
HSL
About #AFA128 Yellow
#AFA128 is a yellow color. In the RGB color model, it is composed of 175 red, 161 green, and 40 blue. In the HSL color space, it has a hue of 54°, saturation of 63%, and lightness of 42%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #AFA128 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
54°
Hue
63%
Saturation
42%
Lightness
Yellow
Color Harmonies
Colors that work well with #AFA128 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #AFA128 against white and black backgrounds.
Aa#AFA128 on White
Contrast Ratio2.64:1
AA ✗AA Large ✗AAA ✗
Aa#AFA128 on Black
Contrast Ratio7.95:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #AFA128 across different color formats.
| Format | Value |
|---|---|
| HEX | #AFA128 |
| RGB | rgb(175, 161, 40) |
| HSL | hsl(54, 63%, 42%) |
| RGB Decimal | 175, 161, 40 |
| RGB Percent | 68.6%, 63.1%, 15.7% |
| CMYK (approx.) | 0%, 8%, 77%, 31% |
Related Palettes
12 palettes using #AFA128 or similar colors