#797F59 color
The hex color #797F59 is a grayish yellow.
In the RGB color model it is made of 47.5% red, 49.8% green and 34.9% blue (121, 127, 89).
Its hue angle is 69°, with 18% saturation and 42% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 30% yellow and 50% black.
The closest named color is Bonsai (#787B54), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.99:1).
#797F59 color codes
| HEX | #797F59 | |
|---|---|---|
| RGB | rgb(121, 127, 89) | |
| RGB percent | rgb(47.5%, 49.8%, 34.9%) | |
| HSL | hsl(69, 18%, 42%) | |
| HSV / HSB | hsv(69, 30%, 50%) | |
| CMYK | cmyk(5%, 0%, 30%, 50%) | |
| CIE LAB | lab(51.8, -8.99, 19.97) | |
| CIE LCH | lch(51.8, 21.9, 114.25) | |
| CIE XYZ | xyz(17.278, 19.965, 12.393) | |
| Decimal | 7962457 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797F59, 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 #797F59 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.99:1 | Pass | Fail | Pass |
| Sample text | 4.21:1 | Fail | Fail | Pass |
| #797F59 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.21:1 | Fail | Fail | Pass |
| Sample text | 4.99: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 #797F59 looks to people with the most common types of color vision deficiency.
#847b56Protanopia
no red cones#847c5bDeuteranopia
no green cones#7d7b75Tritanopia
no blue cones#7b7b7bAchromatopsia
no color vision
CSS examples
.background { background-color: #797f59; }
.text { color: #797f59; }
.border { border: 2px solid #797f59; }
.transparent { background-color: rgb(121 127 89 / 50%); }
.gradient { background: linear-gradient(to right, #797f59, #667f59); }
Similar colors
#787b54Bonsai#7b8762Green Relict#6f7755Dill#79774aTree Hugger#77824aGrasshopper#878757Iguana#76856aWreath#817c4aVerdant Leaf
Closest common color name: Warm Gray.
Questions
- What color is #797F59?
- #797F59 is a grayish yellow, closest to the named color Bonsai. It belongs to the green family of colors.
- What is the RGB value of #797F59?
- The RGB value is 121, 127, 89: 121 red, 127 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of #797F59?
- The complementary color is #5F597F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797F59?
- Black text. Black text has a contrast ratio of 4.99:1 and white text 4.21:1. WCAG asks for at least 4.5:1 for normal text.