#796D2A color
The hex color #796D2A is a dark, desaturated yellow.
In the RGB color model it is made of 47.5% red, 42.7% green and 16.5% blue (121, 109, 42).
Its hue angle is 51°, with 48% saturation and 32% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 65% yellow and 53% black.
The closest named color is Garden Weed (#786E38), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.21:1).
#796D2A color codes
| HEX | #796D2A | |
|---|---|---|
| RGB | rgb(121, 109, 42) | |
| RGB percent | rgb(47.5%, 42.7%, 16.5%) | |
| HSL | hsl(51, 48%, 32%) | |
| HSV / HSB | hsv(51, 65%, 47%) | |
| CMYK | cmyk(0%, 10%, 65%, 53%) | |
| CIE LAB | lab(45.87, -4.05, 38.07) | |
| CIE LCH | lch(45.87, 38.29, 96.07) | |
| CIE XYZ | xyz(13.772, 15.17, 4.393) | |
| Decimal | 7957802 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796D2A, 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 #796D2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.03:1 | Fail | Fail | Pass |
| Sample text | 5.21:1 | Pass | Fail | Pass |
| #796D2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.21:1 | Pass | Fail | Pass |
| Sample text | 4.03: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 #796D2A looks to people with the most common types of color vision deficiency.
#776a22Protanopia
no red cones#7b6f2dDeuteranopia
no green cones#82655fTritanopia
no blue cones#6d6d6dAchromatopsia
no color vision
CSS examples
.background { background-color: #796d2a; }
.text { color: #796d2a; }
.border { border: 2px solid #796d2a; }
.transparent { background-color: rgb(121 109 42 / 50%); }
.gradient { background: linear-gradient(to right, #796d2a, #5e792a); }
Similar colors
#786e38Garden Weed#767437Crocodile Style#736330Himalaya#86793dBay Leaf#897a3eCapers#886b2eAged Antics#727736Jungle Look#69673aJungle Civilization
Closest common color name: Olive Green.
Questions
- What color is #796D2A?
- #796D2A is a dark, desaturated yellow, closest to the named color Garden Weed. It belongs to the yellow family of colors.
- What is the RGB value of #796D2A?
- The RGB value is 121, 109, 42: 121 red, 109 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #796D2A?
- The complementary color is #2A3679, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796D2A?
- White text. Black text has a contrast ratio of 4.03:1 and white text 5.21:1. WCAG asks for at least 4.5:1 for normal text.