#506A27 color
The hex color #506A27 is a dark, desaturated yellow-green.
In the RGB color model it is made of 31.4% red, 41.6% green and 15.3% blue (80, 106, 39).
Its hue angle is 83°, with 46% saturation and 28% lightness. For print, the CMYK equivalent is 25% cyan, 0% magenta, 63% yellow and 58% black.
The closest named color is Dark Olive Green (#556B2F), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.12:1).
#506A27 color codes
| HEX | #506A27 | |
|---|---|---|
| RGB | rgb(80, 106, 39) | |
| RGB percent | rgb(31.4%, 41.6%, 15.3%) | |
| HSL | hsl(83, 46%, 28%) | |
| HSV / HSB | hsv(83, 63%, 42%) | |
| CMYK | cmyk(25%, 0%, 63%, 58%) | |
| CIE LAB | lab(41.47, -21.27, 33.72) | |
| CIE LCH | lch(41.47, 39.87, 122.25) | |
| CIE XYZ | xyz(8.828, 12.16, 3.801) | |
| Decimal | 5270055 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #506A27, 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 #506A27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.43:1 | Fail | Fail | Pass |
| Sample text | 6.12:1 | Pass | Fail | Pass |
| #506A27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.12:1 | Pass | Fail | Pass |
| Sample text | 3.43: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 #506A27 looks to people with the most common types of color vision deficiency.
#6f6320Protanopia
no red cones#6c612cDeuteranopia
no green cones#53655cTritanopia
no blue cones#626262Achromatopsia
no color vision
CSS examples
.background { background-color: #506a27; }
.text { color: #506a27; }
.border { border: 2px solid #506a27; }
.transparent { background-color: rgb(80 106 39 / 50%); }
.gradient { background: linear-gradient(to right, #506a27, #2e6a27); }
Similar colors
#556b2fDark Olive Green#54682bBimi Green#4d6e2fBotanical#4d6d08Over the Hills#556611Forestial Outpost#3d7016Forest Empress#657432Muddy Green#517933Luscious Lemongrass
Questions
- What color is #506A27?
- #506A27 is a dark, desaturated yellow-green, closest to the named color Dark Olive Green. It belongs to the green family of colors.
- What is the RGB value of #506A27?
- The RGB value is 80, 106, 39: 80 red, 106 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #506A27?
- The complementary color is #41276A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #506A27?
- White text. Black text has a contrast ratio of 3.43:1 and white text 6.12:1. WCAG asks for at least 4.5:1 for normal text.