#5C8B27 color
The hex color #5C8B27 is a dark, moderate yellow-green.
In the RGB color model it is made of 36.1% red, 54.5% green and 15.3% blue (92, 139, 39).
Its hue angle is 88°, with 56% saturation and 35% lightness. For print, the CMYK equivalent is 34% cyan, 0% magenta, 72% yellow and 45% black.
The closest named color is Basil (#579229), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.18:1).
#5C8B27 color codes
| HEX | #5C8B27 | |
|---|---|---|
| RGB | rgb(92, 139, 39) | |
| RGB percent | rgb(36.1%, 54.5%, 15.3%) | |
| HSL | hsl(88, 56%, 35%) | |
| HSV / HSB | hsv(88, 72%, 55%) | |
| CMYK | cmyk(34%, 0%, 72%, 45%) | |
| CIE LAB | lab(52.83, -32.52, 46.04) | |
| CIE LCH | lch(52.83, 56.37, 125.24) | |
| CIE XYZ | xyz(14.012, 20.887, 5.212) | |
| Decimal | 6064935 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C8B27, 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 #5C8B27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.18:1 | Pass | Fail | Pass |
| Sample text | 4.06:1 | Fail | Fail | Pass |
| #5C8B27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.06:1 | Fail | Fail | Pass |
| Sample text | 5.18: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 #5C8B27 looks to people with the most common types of color vision deficiency.
#918017Protanopia
no red cones#8b7d30Deuteranopia
no green cones#5e8577Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #5c8b27; }
.text { color: #5c8b27; }
.border { border: 2px solid #5c8b27; }
.transparent { background-color: rgb(92 139 39 / 50%); }
.gradient { background: linear-gradient(to right, #5c8b27, #2a8b27); }
Similar colors
#579229Basil#558800Pesto Alla Genovese#6a8e22Asparagus Sultan#588c3aIndica#6b8e23Olive Drab#5e8b3dHidden Paradise#5c821aEnchanted Forest#448811Kelp Forest
Questions
- What color is #5C8B27?
- #5C8B27 is a dark, moderate yellow-green, closest to the named color Basil. It belongs to the green family of colors.
- What is the RGB value of #5C8B27?
- The RGB value is 92, 139, 39: 92 red, 139 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #5C8B27?
- The complementary color is #56278B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C8B27?
- Black text. Black text has a contrast ratio of 5.18:1 and white text 4.06:1. WCAG asks for at least 4.5:1 for normal text.