#798B3A color

#798B3A rgb(121, 139, 58)
Shades of green

The hex color #798B3A is a desaturated yellow-green.

In the RGB color model it is made of 47.5% red, 54.5% green and 22.7% blue (121, 139, 58).

Its hue angle is 73°, with 41% saturation and 39% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 58% yellow and 45% black.

The closest named color is Pesto di Rucola (#748A35), a difference of 1.2 ΔE, which is barely visible.

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

#798B3A color codes

HEX#798B3A
RGBrgb(121, 139, 58)
RGB percentrgb(47.5%, 54.5%, 22.7%)
HSLhsl(73, 41%, 39%)
HSV / HSBhsv(73, 58%, 55%)
CMYKcmyk(13%, 0%, 58%, 45%)
CIE LABlab(54.9, -19.11, 40.38)
CIE LCHlch(54.9, 44.67, 115.33)
CIE XYZxyz(17.882, 22.836, 7.468)
Decimal7965498
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #798B3A, 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 #798B3ARatioAAAAAAA large
Sample text5.57:1PassFailPass
Sample text3.77:1FailFailPass
#798B3A as text onRatioAAAAAAA large
Sample text3.77:1FailFailPass
Sample text5.57: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 #798B3A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #798b3a; }
.text { color: #798b3a; }
.border { border: 2px solid #798b3a; }
.transparent { background-color: rgb(121 139 58 / 50%); }
.gradient { background: linear-gradient(to right, #798b3a, #508b3a); }
Background
Text color
Border

Similar colors

Questions

What color is #798B3A?
#798B3A is a desaturated yellow-green, closest to the named color Pesto di Rucola. It belongs to the green family of colors.
What is the RGB value of #798B3A?
The RGB value is 121, 139, 58: 121 red, 139 green and 58 blue on a 0 to 255 scale.
What is the complementary color of #798B3A?
The complementary color is #4C3A8B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #798B3A?
Black text. Black text has a contrast ratio of 5.57:1 and white text 3.77:1. WCAG asks for at least 4.5:1 for normal text.