#7F9B4E color
The hex color #7F9B4E is a desaturated yellow-green.
In the RGB color model it is made of 49.8% red, 60.8% green and 30.6% blue (127, 155, 78).
Its hue angle is 82°, with 33% saturation and 46% lightness. For print, the CMYK equivalent is 18% cyan, 0% magenta, 50% yellow and 39% black.
The closest named color is Rosemarried (#819B4F), a difference of 0.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.7:1).
#7F9B4E color codes
| HEX | #7F9B4E | |
|---|---|---|
| RGB | rgb(127, 155, 78) | |
| RGB percent | rgb(49.8%, 60.8%, 30.6%) | |
| HSL | hsl(82, 33%, 46%) | |
| HSV / HSB | hsv(82, 50%, 61%) | |
| CMYK | cmyk(18%, 0%, 50%, 39%) | |
| CIE LAB | lab(60.34, -22.77, 36.93) | |
| CIE LCH | lch(60.34, 43.38, 121.66) | |
| CIE XYZ | xyz(21.849, 28.505, 11.557) | |
| Decimal | 8362830 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F9B4E, 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 #7F9B4E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.7:1 | Pass | Fail | Pass |
| Sample text | 3.13:1 | Fail | Fail | Pass |
| #7F9B4E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.13:1 | Fail | Fail | Pass |
| Sample text | 6.7: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 #7F9B4E looks to people with the most common types of color vision deficiency.
#a29247Protanopia
no red cones#9e9152Deuteranopia
no green cones#839589Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #7f9b4e; }
.text { color: #7f9b4e; }
.border { border: 2px solid #7f9b4e; }
.transparent { background-color: rgb(127 155 78 / 50%); }
.gradient { background: linear-gradient(to right, #7f9b4e, #599b4e); }
Similar colors
#819b4fRosemarried#789b4aMossy Glossy#749a54Bavarian Green#7ba05bFrankenstein#7ca25aFeels Good Man#8a9a5bMoss Green#8ba85fMatcha#8f9b5bVitality
Questions
- What color is #7F9B4E?
- #7F9B4E is a desaturated yellow-green, closest to the named color Rosemarried. It belongs to the green family of colors.
- What is the RGB value of #7F9B4E?
- The RGB value is 127, 155, 78: 127 red, 155 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #7F9B4E?
- The complementary color is #6A4E9B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F9B4E?
- Black text. Black text has a contrast ratio of 6.7:1 and white text 3.13:1. WCAG asks for at least 4.5:1 for normal text.