#7F8227
Yellow
HEX
RGB
HSL
About #7F8227 Yellow
#7F8227 is a yellow color. In the RGB color model, it is composed of 127 red, 130 green, and 39 blue. In the HSL color space, it has a hue of 62°, saturation of 54%, and lightness of 33%.
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 #7F8227 in your CSS, SCSS, or Tailwind projects.
Color Properties
62°
Hue
54%
Saturation
33%
Lightness
Yellow
Color Harmonies
Colors that work well with #7F8227 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7F8227 against white and black backgrounds.
Aa#7F8227 on White
Contrast Ratio4.1:1
AA ✗AA Large ✓AAA ✗
Aa#7F8227 on Black
Contrast Ratio5.12:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7F8227 across different color formats.
| Format | Value |
|---|---|
| HEX | #7F8227 |
| RGB | rgb(127, 130, 39) |
| HSL | hsl(62, 54%, 33%) |
| RGB Decimal | 127, 130, 39 |
| RGB Percent | 49.8%, 51.0%, 15.3% |
| CMYK (approx.) | 2%, 0%, 70%, 49% |
Related Palettes
12 palettes using #7F8227 or similar colors