#7C7D2F color
The hex color #7C7D2F is a dark, desaturated yellow.
In the RGB color model it is made of 48.6% red, 49% green and 18.4% blue (124, 125, 47).
Its hue angle is 61°, with 45% saturation and 34% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 62% yellow and 51% black.
The closest named color is Green Commando (#828039), a difference of 2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.83:1).
#7C7D2F color codes
| HEX | #7C7D2F | |
|---|---|---|
| RGB | rgb(124, 125, 47) | |
| RGB percent | rgb(48.6%, 49%, 18.4%) | |
| HSL | hsl(61, 45%, 34%) | |
| HSV / HSB | hsv(61, 62%, 49%) | |
| CMYK | cmyk(1%, 0%, 62%, 51%) | |
| CIE LAB | lab(50.87, -11.25, 41.21) | |
| CIE LCH | lch(50.87, 42.71, 105.27) | |
| CIE XYZ | xyz(16.159, 19.158, 5.535) | |
| Decimal | 8158511 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C7D2F, 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 #7C7D2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.83:1 | Pass | Fail | Pass |
| Sample text | 4.35:1 | Fail | Fail | Pass |
| #7C7D2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.35:1 | Fail | Fail | Pass |
| Sample text | 4.83: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 #7C7D2F looks to people with the most common types of color vision deficiency.
#877826Protanopia
no red cones#877a34Deuteranopia
no green cones#84756cTritanopia
no blue cones#797979Achromatopsia
no color vision
CSS examples
.background { background-color: #7c7d2f; }
.text { color: #7c7d2f; }
.border { border: 2px solid #7c7d2f; }
.transparent { background-color: rgb(124 125 47 / 50%); }
.gradient { background: linear-gradient(to right, #7c7d2f, #557d2f); }
Similar colors
#828039Green Commando#727736Jungle Look#888738Witch Brew#767437Crocodile Style#888844Overgrown Citadel#808000Olive Green#808000Olive#8c7f3cPeas Please
Questions
- What color is #7C7D2F?
- #7C7D2F is a dark, desaturated yellow, closest to the named color Green Commando. It belongs to the yellow family of colors.
- What is the RGB value of #7C7D2F?
- The RGB value is 124, 125, 47: 124 red, 125 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #7C7D2F?
- The complementary color is #302F7D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C7D2F?
- Black text. Black text has a contrast ratio of 4.83:1 and white text 4.35:1. WCAG asks for at least 4.5:1 for normal text.