#796D31 color
The hex color #796D31 is a dark, desaturated yellow.
In the RGB color model it is made of 47.5% red, 42.7% green and 19.2% blue (121, 109, 49).
Its hue angle is 50°, with 42% saturation and 33% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 60% yellow and 53% black.
The closest named color is Garden Weed (#786E38), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.19:1).
#796D31 color codes
| HEX | #796D31 | |
|---|---|---|
| RGB | rgb(121, 109, 49) | |
| RGB percent | rgb(47.5%, 42.7%, 19.2%) | |
| HSL | hsl(50, 42%, 33%) | |
| HSV / HSB | hsv(50, 60%, 47%) | |
| CMYK | cmyk(0%, 10%, 60%, 53%) | |
| CIE LAB | lab(45.94, -3.5, 34.65) | |
| CIE LCH | lch(45.94, 34.82, 95.77) | |
| CIE XYZ | xyz(13.909, 15.225, 5.111) | |
| Decimal | 7957809 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796D31, 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 #796D31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.04:1 | Fail | Fail | Pass |
| Sample text | 5.19:1 | Pass | Fail | Pass |
| #796D31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.19:1 | Pass | Fail | Pass |
| Sample text | 4.04:1 | Fail | 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 #796D31 looks to people with the most common types of color vision deficiency.
#776a2bProtanopia
no red cones#7a6f34Deuteranopia
no green cones#826660Tritanopia
no blue cones#6d6d6dAchromatopsia
no color vision
CSS examples
.background { background-color: #796d31; }
.text { color: #796d31; }
.border { border: 2px solid #796d31; }
.transparent { background-color: rgb(121 109 49 / 50%); }
.gradient { background: linear-gradient(to right, #796d31, #617931); }
Similar colors
#786e38Garden Weed#767437Crocodile Style#736330Himalaya#86793dBay Leaf#897a3eCapers#7c754cGreek Oregano#69673aJungle Civilization#857349Mossy
Closest common color name: Olive Green.
Questions
- What color is #796D31?
- #796D31 is a dark, desaturated yellow, closest to the named color Garden Weed. It belongs to the brown family of colors.
- What is the RGB value of #796D31?
- The RGB value is 121, 109, 49: 121 red, 109 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #796D31?
- The complementary color is #313D79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796D31?
- White text. Black text has a contrast ratio of 4.04:1 and white text 5.19:1. WCAG asks for at least 4.5:1 for normal text.