#8A7C28
Yellow
HEX
RGB
HSL
About #8A7C28 Yellow
#8A7C28 is a yellow color. In the RGB color model, it is composed of 138 red, 124 green, and 40 blue. In the HSL color space, it has a hue of 51°, saturation of 55%, and lightness of 35%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #8A7C28 in your CSS, SCSS, or Tailwind projects.
Color Properties
51°
Hue
55%
Saturation
35%
Lightness
Yellow
Color Harmonies
Colors that work well with #8A7C28 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8A7C28 against white and black backgrounds.
Aa#8A7C28 on White
Contrast Ratio4.2:1
AA ✗AA Large ✓AAA ✗
Aa#8A7C28 on Black
Contrast Ratio4.99:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #8A7C28 across different color formats.
| Format | Value |
|---|---|
| HEX | #8A7C28 |
| RGB | rgb(138, 124, 40) |
| HSL | hsl(51, 55%, 35%) |
| RGB Decimal | 138, 124, 40 |
| RGB Percent | 54.1%, 48.6%, 15.7% |
| CMYK (approx.) | 0%, 10%, 71%, 46% |
Related Palettes
12 palettes using #8A7C28 or similar colors