#796B07 color
The hex color #796B07 is a dark, vivid yellow.
In the RGB color model it is made of 47.5% red, 42% green and 2.7% blue (121, 107, 7).
Its hue angle is 53°, with 89% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 94% yellow and 53% black.
The closest named color is Muddy Brown (#886806), a difference of 6.1 ΔE.
White text is the more readable choice on this background (contrast 5.36:1).
#796B07 color codes
| HEX | #796B07 | |
|---|---|---|
| RGB | rgb(121, 107, 7) | |
| RGB percent | rgb(47.5%, 42%, 2.7%) | |
| HSL | hsl(53, 89%, 25%) | |
| HSV / HSB | hsv(53, 94%, 47%) | |
| CMYK | cmyk(0%, 12%, 94%, 53%) | |
| CIE LAB | lab(45.08, -4.45, 49.83) | |
| CIE LCH | lch(45.08, 50.02, 95.1) | |
| CIE XYZ | xyz(13.182, 14.596, 2.324) | |
| Decimal | 7957255 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796B07, 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 #796B07 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.92:1 | Fail | Fail | Pass |
| Sample text | 5.36:1 | Pass | Fail | Pass |
| #796B07 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.36:1 | Pass | Fail | Pass |
| Sample text | 3.92: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 #796B07 looks to people with the most common types of color vision deficiency.
#776800Protanopia
no red cones#7a6d12Deuteranopia
no green cones#83625aTritanopia
no blue cones#6b6b6bAchromatopsia
no color vision
CSS examples
.background { background-color: #796b07; }
.text { color: #796b07; }
.border { border: 2px solid #796b07; }
.transparent { background-color: rgb(121 107 7 / 50%); }
.gradient { background: linear-gradient(to right, #796b07, #4e7907); }
Similar colors
#886806Muddy Brown#786e38Garden Weed#886600Alligator#767437Crocodile Style#736330Himalaya#886b2eAged Antics#86793dBay Leaf#665500Ayahuasca Vine
Closest common color name: Olive Green.
Questions
- What color is #796B07?
- #796B07 is a dark, vivid yellow, closest to the named color Muddy Brown. It belongs to the yellow family of colors.
- What is the RGB value of #796B07?
- The RGB value is 121, 107, 7: 121 red, 107 green and 7 blue on a 0 to 255 scale.
- What is the complementary color of #796B07?
- The complementary color is #071579, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796B07?
- White text. Black text has a contrast ratio of 3.92:1 and white text 5.36:1. WCAG asks for at least 4.5:1 for normal text.