#797B46 color

#797B46 rgb(121, 123, 70)
Shades of yellow

The hex color #797B46 is a dark, desaturated yellow.

In the RGB color model it is made of 47.5% red, 48.2% green and 27.5% blue (121, 123, 70).

Its hue angle is 62°, with 27% saturation and 38% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 43% yellow and 52% black.

The closest named color is Tree Hugger (#79774A), a difference of 2.5 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 4.73:1).

#797B46 color codes

HEX#797B46
RGBrgb(121, 123, 70)
RGB percentrgb(47.5%, 48.2%, 27.5%)
HSLhsl(62, 27%, 38%)
HSV / HSBhsv(62, 43%, 48%)
CMYKcmyk(2%, 0%, 43%, 52%)
CIE LABlab(50.3, -9.29, 28.67)
CIE LCHlch(50.3, 30.14, 107.95)
CIE XYZxyz(16.074, 18.673, 8.551)
Decimal7961414
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797B46, 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 #797B46RatioAAAAAAA large
Sample text4.73:1PassFailPass
Sample text4.44:1FailFailPass
#797B46 as text onRatioAAAAAAA large
Sample text4.44:1FailFailPass
Sample text4.73:1PassFailPass

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 #797B46 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #797b46; }
.text { color: #797b46; }
.border { border: 2px solid #797b46; }
.transparent { background-color: rgb(121 123 70 / 50%); }
.gradient { background: linear-gradient(to right, #797b46, #5f7b46); }
Background
Text color
Border

Similar colors

Closest common color name: Warm Gray.

Questions

What color is #797B46?
#797B46 is a dark, desaturated yellow, closest to the named color Tree Hugger. It belongs to the yellow family of colors.
What is the RGB value of #797B46?
The RGB value is 121, 123, 70: 121 red, 123 green and 70 blue on a 0 to 255 scale.
What is the complementary color of #797B46?
The complementary color is #48467B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797B46?
Black text. Black text has a contrast ratio of 4.73:1 and white text 4.44:1. WCAG asks for at least 4.5:1 for normal text.