#9D7A2F
Yellow
HEX
RGB
HSL
About #9D7A2F Yellow
#9D7A2F is a yellow color. In the RGB color model, it is composed of 157 red, 122 green, and 47 blue. In the HSL color space, it has a hue of 41°, saturation of 54%, and lightness of 40%.
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 #9D7A2F in your CSS, SCSS, or Tailwind projects.
Color Properties
41°
Hue
54%
Saturation
40%
Lightness
Yellow
Color Harmonies
Colors that work well with #9D7A2F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #9D7A2F against white and black backgrounds.
Aa#9D7A2F on White
Contrast Ratio3.99:1
AA ✗AA Large ✓AAA ✗
Aa#9D7A2F on Black
Contrast Ratio5.26:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #9D7A2F across different color formats.
| Format | Value |
|---|---|
| HEX | #9D7A2F |
| RGB | rgb(157, 122, 47) |
| HSL | hsl(41, 54%, 40%) |
| RGB Decimal | 157, 122, 47 |
| RGB Percent | 61.6%, 47.8%, 18.4% |
| CMYK (approx.) | 0%, 22%, 70%, 38% |
Related Palettes
12 palettes using #9D7A2F or similar colors