#879966 color
The hex color #879966 is a grayish yellow-green.
In the RGB color model it is made of 52.9% red, 60% green and 40% blue (135, 153, 102).
Its hue angle is 81°, with 20% saturation and 50% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 33% yellow and 40% black.
The closest named color is Bullfrog (#8A966A), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.78:1).
#879966 color codes
| HEX | #879966 | |
|---|---|---|
| RGB | rgb(135, 153, 102) | |
| RGB percent | rgb(52.9%, 60%, 40%) | |
| HSL | hsl(81, 20%, 50%) | |
| HSV / HSB | hsv(81, 33%, 60%) | |
| CMYK | cmyk(12%, 0%, 33%, 40%) | |
| CIE LAB | lab(60.69, -15.48, 24.75) | |
| CIE LCH | lch(60.69, 29.2, 122.02) | |
| CIE XYZ | xyz(23.781, 28.893, 16.892) | |
| Decimal | 8886630 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #879966, 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 #879966 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.78:1 | Pass | Fail | Pass |
| Sample text | 3.1:1 | Fail | Fail | Pass |
| #879966 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.1:1 | Fail | Fail | Pass |
| Sample text | 6.78:1 | Pass | 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 #879966 looks to people with the most common types of color vision deficiency.
#9f9363Protanopia
no red cones#9c9268Deuteranopia
no green cones#8a948cTritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #879966; }
.text { color: #879966; }
.border { border: 2px solid #879966; }
.transparent { background-color: rgb(135 153 102 / 50%); }
.gradient { background: linear-gradient(to right, #879966, #6e9966); }
Similar colors
#8a966aBullfrog#89a068Buckingham Gardens#839c6dSleepy Hollow#8a9a5bMoss Green#8f9b5bVitality#7b9a6dMoney#779966Mosslands#8ba477Succulent Greenhouse
Questions
- What color is #879966?
- #879966 is a grayish yellow-green, closest to the named color Bullfrog. It belongs to the green family of colors.
- What is the RGB value of #879966?
- The RGB value is 135, 153, 102: 135 red, 153 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #879966?
- The complementary color is #786699, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #879966?
- Black text. Black text has a contrast ratio of 6.78:1 and white text 3.1:1. WCAG asks for at least 4.5:1 for normal text.