#798000 color

#798000 rgb(121, 128, 0)
Shades of yellow

The hex color #798000 is a dark, vivid yellow.

In the RGB color model it is made of 47.5% red, 50.2% green and 0% blue (121, 128, 0).

Its hue angle is 63°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 100% yellow and 50% black.

The closest named color is Olive Green (#808000), a difference of 2.1 ΔE, a small difference.

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

#798000 color codes

HEX#798000
RGBrgb(121, 128, 0)
RGB percentrgb(47.5%, 50.2%, 0%)
HSLhsl(63, 100%, 25%)
HSV / HSBhsv(63, 100%, 50%)
CMYKcmyk(5%, 0%, 100%, 50%)
CIE LABlab(51.27, -16.18, 55.97)
CIE LCHlch(51.27, 58.26, 106.12)
CIE XYZxyz(15.605, 19.504, 2.943)
Decimal7962624
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #798000, 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 #798000RatioAAAAAAA large
Sample text4.9:1PassFailPass
Sample text4.29:1FailFailPass
#798000 as text onRatioAAAAAAA large
Sample text4.29:1FailFailPass
Sample text4.9: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 #798000 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #798000; }
.text { color: #798000; }
.border { border: 2px solid #798000; }
.transparent { background-color: rgb(121 128 0 / 50%); }
.gradient { background: linear-gradient(to right, #798000, #398000); }
Background
Text color
Border

Similar colors

Questions

What color is #798000?
#798000 is a dark, vivid yellow, closest to the named color Olive Green. It belongs to the yellow family of colors.
What is the RGB value of #798000?
The RGB value is 121, 128, 0: 121 red, 128 green and 0 blue on a 0 to 255 scale.
What is the complementary color of #798000?
The complementary color is #070080, found by rotating the hue 180° on the color wheel.
Is black or white text better on #798000?
Black text. Black text has a contrast ratio of 4.9:1 and white text 4.29:1. WCAG asks for at least 4.5:1 for normal text.