#4C8017 color
The hex color #4C8017 is a dark, moderate yellow-green.
In the RGB color model it is made of 29.8% red, 50.2% green and 9% blue (76, 128, 23).
Its hue angle is 90°, with 70% saturation and 30% lightness. For print, the CMYK equivalent is 41% cyan, 0% magenta, 82% yellow and 50% black.
The closest named color is Master Chief (#507D2A), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.76:1).
#4C8017 color codes
| HEX | #4C8017 | |
|---|---|---|
| RGB | rgb(76, 128, 23) | |
| RGB percent | rgb(29.8%, 50.2%, 9%) | |
| HSL | hsl(90, 70%, 30%) | |
| HSV / HSB | hsv(90, 82%, 50%) | |
| CMYK | cmyk(41%, 0%, 82%, 50%) | |
| CIE LAB | lab(48.31, -34.6, 47.12) | |
| CIE LCH | lch(48.31, 58.46, 126.29) | |
| CIE XYZ | xyz(10.854, 17.036, 3.527) | |
| Decimal | 5013527 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C8017, 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 #4C8017 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.41:1 | Fail | Fail | Pass |
| Sample text | 4.76:1 | Pass | Fail | Pass |
| #4C8017 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.76:1 | Pass | Fail | Pass |
| Sample text | 4.41:1 | Fail | 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 #4C8017 looks to people with the most common types of color vision deficiency.
#857500Protanopia
no red cones#7e7123Deuteranopia
no green cones#4c7b6dTritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #4c8017; }
.text { color: #4c8017; }
.border { border: 2px solid #4c8017; }
.transparent { background-color: rgb(76 128 23 / 50%); }
.gradient { background: linear-gradient(to right, #4c8017, #178017); }
Similar colors
#507d2aMaster Chief#568203Avocado#5c821aEnchanted Forest#448811Kelp Forest#558800Pesto Alla Genovese#428929La Palma#448833Overgrown Mausoleum#517933Luscious Lemongrass
Questions
- What color is #4C8017?
- #4C8017 is a dark, moderate yellow-green, closest to the named color Master Chief. It belongs to the green family of colors.
- What is the RGB value of #4C8017?
- The RGB value is 76, 128, 23: 76 red, 128 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #4C8017?
- The complementary color is #4B1780, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C8017?
- White text. Black text has a contrast ratio of 4.41:1 and white text 4.76:1. WCAG asks for at least 4.5:1 for normal text.