#7F9900 color
The hex color #7F9900 is a dark, vivid yellow-green.
In the RGB color model it is made of 49.8% red, 60% green and 0% blue (127, 153, 0).
Its hue angle is 70°, with 100% saturation and 30% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 100% yellow and 40% black.
The closest named color is Green Thumb (#779900), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.46:1).
#7F9900 color codes
| HEX | #7F9900 | |
|---|---|---|
| RGB | rgb(127, 153, 0) | |
| RGB percent | rgb(49.8%, 60%, 0%) | |
| HSL | hsl(70, 100%, 30%) | |
| HSV / HSB | hsv(70, 100%, 60%) | |
| CMYK | cmyk(17%, 0%, 100%, 40%) | |
| CIE LAB | lab(59.25, -26.23, 62.12) | |
| CIE LCH | lch(59.25, 67.43, 112.89) | |
| CIE XYZ | xyz(20.144, 27.295, 4.207) | |
| Decimal | 8362240 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F9900, 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 #7F9900 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.46:1 | Pass | Fail | Pass |
| Sample text | 3.25:1 | Fail | Fail | Pass |
| #7F9900 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.25:1 | Fail | Fail | Pass |
| Sample text | 6.46: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 #7F9900 looks to people with the most common types of color vision deficiency.
#a38f00Protanopia
no red cones#a08f1bDeuteranopia
no green cones#879081Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #7f9900; }
.text { color: #7f9900; }
.border { border: 2px solid #7f9900; }
.transparent { background-color: rgb(127 153 0 / 50%); }
.gradient { background: linear-gradient(to right, #7f9900, #339900); }
Similar colors
#779900Green Thumb#889911Densetsu Green#889900BioShock#889717Snakes in the Grass#89a203Noxious#8c9632Chorus of Frogs#669900Gecko’s Dream#88aa22Guardian of Gardens
Closest common color name: Olive Drab.
Questions
- What color is #7F9900?
- #7F9900 is a dark, vivid yellow-green, closest to the named color Green Thumb. It belongs to the green family of colors.
- What is the RGB value of #7F9900?
- The RGB value is 127, 153, 0: 127 red, 153 green and 0 blue on a 0 to 255 scale.
- What is the complementary color of #7F9900?
- The complementary color is #1A0099, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F9900?
- Black text. Black text has a contrast ratio of 6.46:1 and white text 3.25:1. WCAG asks for at least 4.5:1 for normal text.