#797D55 color
The hex color #797D55 is a grayish yellow.
In the RGB color model it is made of 47.5% red, 49% green and 33.3% blue (121, 125, 85).
Its hue angle is 66°, with 19% saturation and 41% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 32% yellow and 51% black.
The closest named color is Bonsai (#787B54), a difference of 0.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.88:1).
#797D55 color codes
| HEX | #797D55 | |
|---|---|---|
| RGB | rgb(121, 125, 85) | |
| RGB percent | rgb(47.5%, 49%, 33.3%) | |
| HSL | hsl(66, 19%, 41%) | |
| HSV / HSB | hsv(66, 32%, 49%) | |
| CMYK | cmyk(3%, 0%, 32%, 51%) | |
| CIE LAB | lab(51.14, -8.46, 21.36) | |
| CIE LCH | lch(51.14, 22.98, 111.6) | |
| CIE XYZ | xyz(16.858, 19.388, 11.447) | |
| Decimal | 7961941 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797D55, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #797D55 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.88:1 | Pass | Fail | Pass |
| Sample text | 4.31:1 | Fail | Fail | Pass |
| #797D55 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.31:1 | Fail | Fail | Pass |
| Sample text | 4.88:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #797D55 looks to people with the most common types of color vision deficiency.
#837952Protanopia
no red cones#837a57Deuteranopia
no green cones#7e7873Tritanopia
no blue cones#7a7a7aAchromatopsia
no color vision
CSS examples
.background { background-color: #797d55; }
.text { color: #797d55; }
.border { border: 2px solid #797d55; }
.transparent { background-color: rgb(121 125 85 / 50%); }
.gradient { background: linear-gradient(to right, #797d55, #657d55); }
Similar colors
#787b54Bonsai#79774aTree Hugger#6f7755Dill#817c4aVerdant Leaf#77824aGrasshopper#7b8762Green Relict#878757Iguana#7c754cGreek Oregano
Closest common color name: Warm Gray.
Questions
- What color is #797D55?
- #797D55 is a grayish yellow, closest to the named color Bonsai. It belongs to the yellow family of colors.
- What is the RGB value of #797D55?
- The RGB value is 121, 125, 85: 121 red, 125 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #797D55?
- The complementary color is #59557D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797D55?
- Black text. Black text has a contrast ratio of 4.88:1 and white text 4.31:1. WCAG asks for at least 4.5:1 for normal text.